Lines Matching refs:button
28 * tablet mode. In firmware mode (out of the box) the tablet sends button events
243 // Byte 5 is the button state
406 // Byte 4 is the button state
491 static __u8 button;
498 /* Nicely enough, this device only supports one button down at a time so
508 button &= 0xc0;
514 button |= BIT(0);
517 button |= BIT(1);
520 button |= BIT(2);
523 button |= BIT(3);
526 button |= BIT(4);
529 button |= BIT(5);
533 __u8 report[8] = {PAD_REPORT_ID, 0x0, 0x0, 0x0, 0x00, button};
549 button &= 0x3f;
550 button |= !!data[1] << 6;
552 __u8 report[] = {PAD_REPORT_ID, 0x0, 0x0, 0x0, dial, button};