Lines Matching refs:input_report_key

47 	input_report_key(input, BTN_TOUCH, 0);  in wacom_force_proxout()
48 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout()
49 input_report_key(input, BTN_STYLUS2, 0); in wacom_force_proxout()
50 input_report_key(input, BTN_STYLUS3, 0); in wacom_force_proxout()
51 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout()
136 input_report_key(input, wacom->tool[0], 1); in wacom_penpartner_irq()
141 input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -127)); in wacom_penpartner_irq()
142 input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); in wacom_penpartner_irq()
144 input_report_key(input, wacom->tool[0], 0); in wacom_penpartner_irq()
147 input_report_key(input, BTN_TOUCH, 0); in wacom_penpartner_irq()
152 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq()
157 input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -80) && !(data[5] & 0x20)); in wacom_penpartner_irq()
158 input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); in wacom_penpartner_irq()
201 input_report_key(input, BTN_TOOL_RUBBER, 0); in wacom_pl_irq()
218 input_report_key(input, BTN_TOUCH, data[4] & 0x08); in wacom_pl_irq()
219 input_report_key(input, BTN_STYLUS, data[4] & 0x10); in wacom_pl_irq()
221 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq()
226 input_report_key(input, wacom->tool[0], prox); in wacom_pl_irq()
243 input_report_key(input, BTN_TOOL_RUBBER, data[1] & 0x20); in wacom_ptu_irq()
244 input_report_key(input, BTN_TOUCH, data[1] & 0x08); in wacom_ptu_irq()
247 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq()
248 input_report_key(input, BTN_TOUCH, data[1] & 0x01); in wacom_ptu_irq()
255 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_ptu_irq()
256 input_report_key(input, BTN_STYLUS2, data[1] & 0x10); in wacom_ptu_irq()
277 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_dtu_irq()
278 input_report_key(input, BTN_STYLUS2, data[1] & 0x10); in wacom_dtu_irq()
282 input_report_key(input, BTN_TOUCH, data[1] & 0x05); in wacom_dtu_irq()
285 input_report_key(input, wacom->tool[0], prox); in wacom_dtu_irq()
302 input_report_key(input, BTN_0, (data[1] & 0x01)); in wacom_dtus_irq()
303 input_report_key(input, BTN_1, (data[1] & 0x02)); in wacom_dtus_irq()
304 input_report_key(input, BTN_2, (data[1] & 0x04)); in wacom_dtus_irq()
305 input_report_key(input, BTN_3, (data[1] & 0x08)); in wacom_dtus_irq()
325 input_report_key(input, BTN_STYLUS, data[1] & 0x20); in wacom_dtus_irq()
326 input_report_key(input, BTN_STYLUS2, data[1] & 0x40); in wacom_dtus_irq()
331 input_report_key(input, BTN_TOUCH, pressure > 10); in wacom_dtus_irq()
335 input_report_key(input, wacom->tool[0], prox); in wacom_dtus_irq()
381 input_report_key(input, BTN_MIDDLE, data[1] & 0x04); in wacom_graphire_irq()
399 input_report_key(input, BTN_TOUCH, data[1] & 0x01); in wacom_graphire_irq()
400 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_graphire_irq()
401 input_report_key(input, BTN_STYLUS2, data[1] & 0x04); in wacom_graphire_irq()
403 input_report_key(input, BTN_LEFT, data[1] & 0x01); in wacom_graphire_irq()
404 input_report_key(input, BTN_RIGHT, data[1] & 0x02); in wacom_graphire_irq()
416 input_report_key(input, BTN_MIDDLE, in wacom_graphire_irq()
433 input_report_key(input, wacom->tool[0], prox); in wacom_graphire_irq()
443 input_report_key(pad_input, BTN_BACK, (data[7] & 0x40)); in wacom_graphire_irq()
444 input_report_key(pad_input, BTN_FORWARD, (data[7] & 0x80)); in wacom_graphire_irq()
458 input_report_key(pad_input, BTN_BACK, (data[7] & 0x08)); in wacom_graphire_irq()
459 input_report_key(pad_input, BTN_LEFT, (data[7] & 0x20)); in wacom_graphire_irq()
460 input_report_key(pad_input, BTN_FORWARD, (data[7] & 0x10)); in wacom_graphire_irq()
461 input_report_key(pad_input, BTN_RIGHT, (data[7] & 0x40)); in wacom_graphire_irq()
473 input_report_key(pad_input, BTN_0, (data[7] & 0x02)); in wacom_graphire_irq()
474 input_report_key(pad_input, BTN_1, (data[7] & 0x01)); in wacom_graphire_irq()
646 input_report_key(input, KEY_PROG1 + i, keys & (1 << i)); in wacom_intuos_pad()
648 input_report_key(input, KEY_BUTTONCONFIG, wrench); in wacom_intuos_pad()
649 input_report_key(input, KEY_ONSCREEN_KEYBOARD, keyboard); in wacom_intuos_pad()
650 input_report_key(input, KEY_CONTROLPANEL, menu); in wacom_intuos_pad()
651 input_report_key(input, KEY_INFO, info); in wacom_intuos_pad()
666 input_report_key(input, wacom->tool[1], prox ? 1 : 0); in wacom_intuos_pad()
750 input_report_key(input, BTN_LEFT, 0); in wacom_exit_report()
751 input_report_key(input, BTN_MIDDLE, 0); in wacom_exit_report()
752 input_report_key(input, BTN_RIGHT, 0); in wacom_exit_report()
753 input_report_key(input, BTN_SIDE, 0); in wacom_exit_report()
754 input_report_key(input, BTN_EXTRA, 0); in wacom_exit_report()
759 input_report_key(input, BTN_STYLUS, 0); in wacom_exit_report()
760 input_report_key(input, BTN_STYLUS2, 0); in wacom_exit_report()
761 input_report_key(input, BTN_TOUCH, 0); in wacom_exit_report()
766 input_report_key(input, wacom->tool[idx], 0); in wacom_exit_report()
807 input_report_key(input, BTN_TOUCH, 0); in wacom_intuos_inout()
920 input_report_key(input, BTN_STYLUS, data[1] & 2); in wacom_intuos_general()
921 input_report_key(input, BTN_STYLUS2, data[1] & 4); in wacom_intuos_general()
922 input_report_key(input, BTN_TOUCH, t > 10); in wacom_intuos_general()
952 input_report_key(input, BTN_LEFT, data[8] & 0x01); in wacom_intuos_general()
953 input_report_key(input, BTN_MIDDLE, data[8] & 0x02); in wacom_intuos_general()
954 input_report_key(input, BTN_RIGHT, data[8] & 0x04); in wacom_intuos_general()
956 input_report_key(input, BTN_SIDE, data[8] & 0x20); in wacom_intuos_general()
957 input_report_key(input, BTN_EXTRA, data[8] & 0x10); in wacom_intuos_general()
964 input_report_key(input, BTN_LEFT, data[6] & 0x01); in wacom_intuos_general()
965 input_report_key(input, BTN_MIDDLE, data[6] & 0x02); in wacom_intuos_general()
966 input_report_key(input, BTN_RIGHT, data[6] & 0x04); in wacom_intuos_general()
969 input_report_key(input, BTN_SIDE, data[6] & 0x08); in wacom_intuos_general()
970 input_report_key(input, BTN_EXTRA, data[6] & 0x10); in wacom_intuos_general()
980 input_report_key(input, BTN_LEFT, data[8] & 0x04); in wacom_intuos_general()
981 input_report_key(input, BTN_MIDDLE, data[8] & 0x08); in wacom_intuos_general()
982 input_report_key(input, BTN_RIGHT, data[8] & 0x10); in wacom_intuos_general()
988 input_report_key(input, BTN_SIDE, data[8] & 0x40); in wacom_intuos_general()
989 input_report_key(input, BTN_EXTRA, data[8] & 0x20); in wacom_intuos_general()
994 input_report_key(input, BTN_LEFT, data[8] & 0x01); in wacom_intuos_general()
995 input_report_key(input, BTN_MIDDLE, data[8] & 0x02); in wacom_intuos_general()
996 input_report_key(input, BTN_RIGHT, data[8] & 0x04); in wacom_intuos_general()
997 input_report_key(input, BTN_SIDE, data[8] & 0x10); in wacom_intuos_general()
998 input_report_key(input, BTN_EXTRA, data[8] & 0x08); in wacom_intuos_general()
1015 input_report_key(input, wacom->tool[idx], 1); in wacom_intuos_general()
1093 input_report_key(input, BTN_0, (data[9] & 0x01)); in wacom_remote_irq()
1094 input_report_key(input, BTN_1, (data[9] & 0x02)); in wacom_remote_irq()
1095 input_report_key(input, BTN_2, (data[9] & 0x04)); in wacom_remote_irq()
1096 input_report_key(input, BTN_3, (data[9] & 0x08)); in wacom_remote_irq()
1097 input_report_key(input, BTN_4, (data[9] & 0x10)); in wacom_remote_irq()
1098 input_report_key(input, BTN_5, (data[9] & 0x20)); in wacom_remote_irq()
1099 input_report_key(input, BTN_6, (data[9] & 0x40)); in wacom_remote_irq()
1100 input_report_key(input, BTN_7, (data[9] & 0x80)); in wacom_remote_irq()
1102 input_report_key(input, BTN_8, (data[10] & 0x01)); in wacom_remote_irq()
1103 input_report_key(input, BTN_9, (data[10] & 0x02)); in wacom_remote_irq()
1104 input_report_key(input, BTN_A, (data[10] & 0x04)); in wacom_remote_irq()
1105 input_report_key(input, BTN_B, (data[10] & 0x08)); in wacom_remote_irq()
1106 input_report_key(input, BTN_C, (data[10] & 0x10)); in wacom_remote_irq()
1107 input_report_key(input, BTN_X, (data[10] & 0x20)); in wacom_remote_irq()
1108 input_report_key(input, BTN_Y, (data[10] & 0x40)); in wacom_remote_irq()
1109 input_report_key(input, BTN_Z, (data[10] & 0x80)); in wacom_remote_irq()
1111 input_report_key(input, BTN_BASE, (data[11] & 0x01)); in wacom_remote_irq()
1112 input_report_key(input, BTN_BASE2, (data[11] & 0x02)); in wacom_remote_irq()
1376 input_report_key(pen_input, BTN_TOUCH, frame[0] & 0x09); in wacom_intuos_pro2_bt_pen()
1377 input_report_key(pen_input, BTN_STYLUS, frame[0] & 0x02); in wacom_intuos_pro2_bt_pen()
1378 input_report_key(pen_input, BTN_STYLUS2, frame[0] & 0x04); in wacom_intuos_pro2_bt_pen()
1380 input_report_key(pen_input, wacom->tool[0], prox); in wacom_intuos_pro2_bt_pen()
1485 input_report_key(pad_input, wacom->tool[1], prox ? 1 : 0); in wacom_intuos_pro2_bt_pad()
1512 input_report_key(pad_input, wacom->tool[1], buttons ? 1 : 0); in wacom_intuos_gen3_bt_pad()
1731 input_report_key(input, BTN_TOUCH, prox); in wacom_tpc_single_touch()
1756 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_tpc_pen()
1757 input_report_key(input, BTN_STYLUS2, data[1] & 0x10); in wacom_tpc_pen()
1761 input_report_key(input, BTN_TOUCH, data[1] & 0x05); in wacom_tpc_pen()
1762 input_report_key(input, wacom->tool[0], prox); in wacom_tpc_pen()
2590 input_report_key(input, BTN_STYLUS, wacom_wac->hid_data.barrelswitch); in wacom_wac_pen_report()
2591 input_report_key(input, BTN_STYLUS2, wacom_wac->hid_data.barrelswitch2); in wacom_wac_pen_report()
2592 input_report_key(input, BTN_STYLUS3, wacom_wac->hid_data.barrelswitch3); in wacom_wac_pen_report()
2606 input_report_key(input, BTN_TOUCH, in wacom_wac_pen_report()
2608 input_report_key(input, wacom_wac->tool[0], sense); in wacom_wac_pen_report()
2734 input_report_key(input, BTN_TOUCH, prox); in wacom_wac_finger_slot()
3081 input_report_key(pad_input, BTN_LEFT, (data[1] & 0x08) != 0); in wacom_bpt_touch()
3082 input_report_key(pad_input, BTN_FORWARD, (data[1] & 0x04) != 0); in wacom_bpt_touch()
3083 input_report_key(pad_input, BTN_BACK, (data[1] & 0x02) != 0); in wacom_bpt_touch()
3084 input_report_key(pad_input, BTN_RIGHT, (data[1] & 0x01) != 0); in wacom_bpt_touch()
3139 input_report_key(input, BTN_LEFT, (data[1] & 0x02) != 0); in wacom_bpt3_button_msg()
3140 input_report_key(input, BTN_BACK, (data[1] & 0x08) != 0); in wacom_bpt3_button_msg()
3142 input_report_key(input, BTN_BACK, (data[1] & 0x02) != 0); in wacom_bpt3_button_msg()
3143 input_report_key(input, BTN_LEFT, (data[1] & 0x08) != 0); in wacom_bpt3_button_msg()
3145 input_report_key(input, BTN_FORWARD, (data[1] & 0x04) != 0); in wacom_bpt3_button_msg()
3146 input_report_key(input, BTN_RIGHT, (data[1] & 0x01) != 0); in wacom_bpt3_button_msg()
3233 input_report_key(input, BTN_TOUCH, pen); in wacom_bpt_pen()
3234 input_report_key(input, BTN_STYLUS, btn1); in wacom_bpt_pen()
3235 input_report_key(input, BTN_STYLUS2, btn2); in wacom_bpt_pen()
3244 input_report_key(input, wacom->tool[0], range); /* PEN or RUBBER */ in wacom_bpt_pen()
3329 input_report_key(input, BTN_LEFT, prefix & 0x40); in wacom_bamboo_pad_touch_event()
3330 input_report_key(input, BTN_RIGHT, prefix & 0x80); in wacom_bamboo_pad_touch_event()
4206 input_report_key(input_dev, key, mask & (1 << i)); in wacom_report_numbered_buttons()