Lines Matching defs:button
37 * bit 3 1 if a button on the pointing device has been pressed
311 u8 in_proximity_p, stylus_p, button;
317 button = (wacom->data[3] & 0x78) >> 3;
333 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS;
350 input_report_key(wacom->dev, BTN_TOUCH, button & 1);
351 input_report_key(wacom->dev, BTN_STYLUS, button & 2);
352 input_report_key(wacom->dev, BTN_STYLUS2, button & 4);
354 input_report_key(wacom->dev, BTN_LEFT, button & 1);
355 input_report_key(wacom->dev, BTN_RIGHT, button & 2);
356 input_report_key(wacom->dev, BTN_MIDDLE, button & 4);