Lines Matching refs:buttons
519 int buttons = 0, nbuttons = features->numbered_buttons;
533 buttons = (data[3] << 1) | (data[2] & 0x01);
536 buttons = data[6];
538 buttons = (data[4] << 1) | (data[3] & 0x01);
540 buttons = (data[8] << 8) | data[6];
545 * Three "buttons" are available on the 24HD which are
586 * Do not send hardware buttons under Android. They
596 buttons = (data[4] << 1) | (data[3] & 0x01);
604 buttons = ((data[2] >> 4) << 7) |
616 buttons = (data[4] << 1) | (data[3] & 0x01);
620 buttons = (data[8] << 10) | ((data[7] & 0x01) << 9) |
631 buttons = ((data[6] & 0x10) << 5) |
640 prox = (buttons & ~(~0U << nbuttons)) | (keys & ~(~0U << nkeys)) |
643 wacom_report_numbered_buttons(input, nbuttons, buttons);
1026 /* I3 2D mouse side buttons */
1550 int buttons = data[44];
1552 wacom_report_numbered_buttons(pad_input, 4, buttons);
1554 input_report_key(pad_input, wacom->tool[1], buttons ? 1 : 0);
1555 input_report_abs(pad_input, ABS_MISC, buttons ? PAD_DEVICE_ID : 0);
2403 * the buttons/finger is on the tablet's left. HID values
2404 * are zero when buttons are toward the top.
4015 * So group 0 matches the second half of the buttons and thus the mask