Lines Matching defs:tool
70 * bit 6 Sign of pressure data; or wheel-rel for cursor tool
71 * bit 5 P7; or REL1 for cursor tool
72 * bit 4 P6; or REL0 for cursor tool
173 unsigned int tool;
312 unsigned int tool;
333 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS;
335 tool = CURSOR;
337 if (tool != wacom->tool && wacom->tool != 0) {
338 input_report_key(wacom->dev, tools[wacom->tool].input_id, 0);
341 wacom->tool = tool;
343 input_report_key(wacom->dev, tools[tool].input_id, in_proximity_p);
345 in_proximity_p ? tools[tool].device_id : 0);
532 wacom->tool = wacom->idx = 0;