Lines Matching refs:input_report_key
56 input_report_key(input, BTN_TOUCH, 0); in wacom_force_proxout()
57 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout()
58 input_report_key(input, BTN_STYLUS2, 0); in wacom_force_proxout()
59 input_report_key(input, BTN_STYLUS3, 0); in wacom_force_proxout()
60 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout()
140 input_report_key(input, wacom->tool[0], 1); in wacom_penpartner_irq()
145 input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -127)); in wacom_penpartner_irq()
146 input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); in wacom_penpartner_irq()
148 input_report_key(input, wacom->tool[0], 0); in wacom_penpartner_irq()
151 input_report_key(input, BTN_TOUCH, 0); in wacom_penpartner_irq()
156 input_report_key(input, BTN_TOOL_PEN, 1); in wacom_penpartner_irq()
161 input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -80) && !(data[5] & 0x20)); in wacom_penpartner_irq()
162 input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); in wacom_penpartner_irq()
205 input_report_key(input, BTN_TOOL_RUBBER, 0); in wacom_pl_irq()
222 input_report_key(input, BTN_TOUCH, data[4] & 0x08); in wacom_pl_irq()
223 input_report_key(input, BTN_STYLUS, data[4] & 0x10); in wacom_pl_irq()
225 input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); in wacom_pl_irq()
230 input_report_key(input, wacom->tool[0], prox); in wacom_pl_irq()
247 input_report_key(input, BTN_TOOL_RUBBER, data[1] & 0x20); in wacom_ptu_irq()
248 input_report_key(input, BTN_TOUCH, data[1] & 0x08); in wacom_ptu_irq()
251 input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); in wacom_ptu_irq()
252 input_report_key(input, BTN_TOUCH, data[1] & 0x01); in wacom_ptu_irq()
259 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_ptu_irq()
260 input_report_key(input, BTN_STYLUS2, data[1] & 0x10); in wacom_ptu_irq()
281 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_dtu_irq()
282 input_report_key(input, BTN_STYLUS2, data[1] & 0x10); in wacom_dtu_irq()
286 input_report_key(input, BTN_TOUCH, data[1] & 0x05); in wacom_dtu_irq()
289 input_report_key(input, wacom->tool[0], prox); in wacom_dtu_irq()
306 input_report_key(input, BTN_0, (data[1] & 0x01)); in wacom_dtus_irq()
307 input_report_key(input, BTN_1, (data[1] & 0x02)); in wacom_dtus_irq()
308 input_report_key(input, BTN_2, (data[1] & 0x04)); in wacom_dtus_irq()
309 input_report_key(input, BTN_3, (data[1] & 0x08)); in wacom_dtus_irq()
329 input_report_key(input, BTN_STYLUS, data[1] & 0x20); in wacom_dtus_irq()
330 input_report_key(input, BTN_STYLUS2, data[1] & 0x40); in wacom_dtus_irq()
335 input_report_key(input, BTN_TOUCH, pressure > 10); in wacom_dtus_irq()
339 input_report_key(input, wacom->tool[0], prox); in wacom_dtus_irq()
385 input_report_key(input, BTN_MIDDLE, data[1] & 0x04); in wacom_graphire_irq()
403 input_report_key(input, BTN_TOUCH, data[1] & 0x01); in wacom_graphire_irq()
404 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_graphire_irq()
405 input_report_key(input, BTN_STYLUS2, data[1] & 0x04); in wacom_graphire_irq()
407 input_report_key(input, BTN_LEFT, data[1] & 0x01); in wacom_graphire_irq()
408 input_report_key(input, BTN_RIGHT, data[1] & 0x02); in wacom_graphire_irq()
420 input_report_key(input, BTN_MIDDLE, in wacom_graphire_irq()
437 input_report_key(input, wacom->tool[0], prox); in wacom_graphire_irq()
447 input_report_key(pad_input, BTN_BACK, (data[7] & 0x40)); in wacom_graphire_irq()
448 input_report_key(pad_input, BTN_FORWARD, (data[7] & 0x80)); in wacom_graphire_irq()
462 input_report_key(pad_input, BTN_BACK, (data[7] & 0x08)); in wacom_graphire_irq()
463 input_report_key(pad_input, BTN_LEFT, (data[7] & 0x20)); in wacom_graphire_irq()
464 input_report_key(pad_input, BTN_FORWARD, (data[7] & 0x10)); in wacom_graphire_irq()
465 input_report_key(pad_input, BTN_RIGHT, (data[7] & 0x40)); in wacom_graphire_irq()
477 input_report_key(pad_input, BTN_0, (data[7] & 0x02)); in wacom_graphire_irq()
478 input_report_key(pad_input, BTN_1, (data[7] & 0x01)); in wacom_graphire_irq()
623 input_report_key(input, KEY_PROG1 + i, keys & (1 << i)); in wacom_intuos_pad()
631 input_report_key(input, wacom->tool[1], prox ? 1 : 0); in wacom_intuos_pad()
747 input_report_key(input, BTN_LEFT, 0); in wacom_exit_report()
748 input_report_key(input, BTN_MIDDLE, 0); in wacom_exit_report()
749 input_report_key(input, BTN_RIGHT, 0); in wacom_exit_report()
750 input_report_key(input, BTN_SIDE, 0); in wacom_exit_report()
751 input_report_key(input, BTN_EXTRA, 0); in wacom_exit_report()
756 input_report_key(input, BTN_STYLUS, 0); in wacom_exit_report()
757 input_report_key(input, BTN_STYLUS2, 0); in wacom_exit_report()
758 input_report_key(input, BTN_TOUCH, 0); in wacom_exit_report()
763 input_report_key(input, wacom->tool[idx], 0); in wacom_exit_report()
804 input_report_key(input, BTN_TOUCH, 0); in wacom_intuos_inout()
910 input_report_key(input, BTN_STYLUS, data[1] & 2); in wacom_intuos_general()
911 input_report_key(input, BTN_STYLUS2, data[1] & 4); in wacom_intuos_general()
912 input_report_key(input, BTN_TOUCH, t > 10); in wacom_intuos_general()
942 input_report_key(input, BTN_LEFT, data[8] & 0x01); in wacom_intuos_general()
943 input_report_key(input, BTN_MIDDLE, data[8] & 0x02); in wacom_intuos_general()
944 input_report_key(input, BTN_RIGHT, data[8] & 0x04); in wacom_intuos_general()
946 input_report_key(input, BTN_SIDE, data[8] & 0x20); in wacom_intuos_general()
947 input_report_key(input, BTN_EXTRA, data[8] & 0x10); in wacom_intuos_general()
954 input_report_key(input, BTN_LEFT, data[6] & 0x01); in wacom_intuos_general()
955 input_report_key(input, BTN_MIDDLE, data[6] & 0x02); in wacom_intuos_general()
956 input_report_key(input, BTN_RIGHT, data[6] & 0x04); in wacom_intuos_general()
959 input_report_key(input, BTN_SIDE, data[6] & 0x08); in wacom_intuos_general()
960 input_report_key(input, BTN_EXTRA, data[6] & 0x10); in wacom_intuos_general()
970 input_report_key(input, BTN_LEFT, data[8] & 0x04); in wacom_intuos_general()
971 input_report_key(input, BTN_MIDDLE, data[8] & 0x08); in wacom_intuos_general()
972 input_report_key(input, BTN_RIGHT, data[8] & 0x10); in wacom_intuos_general()
978 input_report_key(input, BTN_SIDE, data[8] & 0x40); in wacom_intuos_general()
979 input_report_key(input, BTN_EXTRA, data[8] & 0x20); in wacom_intuos_general()
984 input_report_key(input, BTN_LEFT, data[8] & 0x01); in wacom_intuos_general()
985 input_report_key(input, BTN_MIDDLE, data[8] & 0x02); in wacom_intuos_general()
986 input_report_key(input, BTN_RIGHT, data[8] & 0x04); in wacom_intuos_general()
987 input_report_key(input, BTN_SIDE, data[8] & 0x10); in wacom_intuos_general()
988 input_report_key(input, BTN_EXTRA, data[8] & 0x08); in wacom_intuos_general()
1005 input_report_key(input, wacom->tool[idx], 1); in wacom_intuos_general()
1083 input_report_key(input, BTN_0, (data[9] & 0x01)); in wacom_remote_irq()
1084 input_report_key(input, BTN_1, (data[9] & 0x02)); in wacom_remote_irq()
1085 input_report_key(input, BTN_2, (data[9] & 0x04)); in wacom_remote_irq()
1086 input_report_key(input, BTN_3, (data[9] & 0x08)); in wacom_remote_irq()
1087 input_report_key(input, BTN_4, (data[9] & 0x10)); in wacom_remote_irq()
1088 input_report_key(input, BTN_5, (data[9] & 0x20)); in wacom_remote_irq()
1089 input_report_key(input, BTN_6, (data[9] & 0x40)); in wacom_remote_irq()
1090 input_report_key(input, BTN_7, (data[9] & 0x80)); in wacom_remote_irq()
1092 input_report_key(input, BTN_8, (data[10] & 0x01)); in wacom_remote_irq()
1093 input_report_key(input, BTN_9, (data[10] & 0x02)); in wacom_remote_irq()
1094 input_report_key(input, BTN_A, (data[10] & 0x04)); in wacom_remote_irq()
1095 input_report_key(input, BTN_B, (data[10] & 0x08)); in wacom_remote_irq()
1096 input_report_key(input, BTN_C, (data[10] & 0x10)); in wacom_remote_irq()
1097 input_report_key(input, BTN_X, (data[10] & 0x20)); in wacom_remote_irq()
1098 input_report_key(input, BTN_Y, (data[10] & 0x40)); in wacom_remote_irq()
1099 input_report_key(input, BTN_Z, (data[10] & 0x80)); in wacom_remote_irq()
1101 input_report_key(input, BTN_BASE, (data[11] & 0x01)); in wacom_remote_irq()
1102 input_report_key(input, BTN_BASE2, (data[11] & 0x02)); in wacom_remote_irq()
1343 input_report_key(pen_input, BTN_TOUCH, frame[0] & 0x09); in wacom_intuos_pro2_bt_pen()
1344 input_report_key(pen_input, BTN_STYLUS, frame[0] & 0x02); in wacom_intuos_pro2_bt_pen()
1345 input_report_key(pen_input, BTN_STYLUS2, frame[0] & 0x04); in wacom_intuos_pro2_bt_pen()
1347 input_report_key(pen_input, wacom->tool[0], prox); in wacom_intuos_pro2_bt_pen()
1446 input_report_key(pad_input, wacom->tool[1], prox ? 1 : 0); in wacom_intuos_pro2_bt_pad()
1473 input_report_key(pad_input, wacom->tool[1], buttons ? 1 : 0); in wacom_intuos_gen3_bt_pad()
1688 input_report_key(input, BTN_TOUCH, prox); in wacom_tpc_single_touch()
1713 input_report_key(input, BTN_STYLUS, data[1] & 0x02); in wacom_tpc_pen()
1714 input_report_key(input, BTN_STYLUS2, data[1] & 0x10); in wacom_tpc_pen()
1718 input_report_key(input, BTN_TOUCH, data[1] & 0x05); in wacom_tpc_pen()
1719 input_report_key(input, wacom->tool[0], prox); in wacom_tpc_pen()
2444 input_report_key(input, BTN_STYLUS, sw_state == 1); in wacom_wac_pen_report()
2445 input_report_key(input, BTN_STYLUS2, sw_state == 2); in wacom_wac_pen_report()
2446 input_report_key(input, BTN_STYLUS3, sw_state == 3); in wacom_wac_pen_report()
2460 input_report_key(input, BTN_TOUCH, in wacom_wac_pen_report()
2462 input_report_key(input, wacom_wac->tool[0], sense); in wacom_wac_pen_report()
2558 input_report_key(input, BTN_TOUCH, prox); in wacom_wac_finger_slot()
2912 input_report_key(pad_input, BTN_LEFT, (data[1] & 0x08) != 0); in wacom_bpt_touch()
2913 input_report_key(pad_input, BTN_FORWARD, (data[1] & 0x04) != 0); in wacom_bpt_touch()
2914 input_report_key(pad_input, BTN_BACK, (data[1] & 0x02) != 0); in wacom_bpt_touch()
2915 input_report_key(pad_input, BTN_RIGHT, (data[1] & 0x01) != 0); in wacom_bpt_touch()
2970 input_report_key(input, BTN_LEFT, (data[1] & 0x02) != 0); in wacom_bpt3_button_msg()
2971 input_report_key(input, BTN_BACK, (data[1] & 0x08) != 0); in wacom_bpt3_button_msg()
2973 input_report_key(input, BTN_BACK, (data[1] & 0x02) != 0); in wacom_bpt3_button_msg()
2974 input_report_key(input, BTN_LEFT, (data[1] & 0x08) != 0); in wacom_bpt3_button_msg()
2976 input_report_key(input, BTN_FORWARD, (data[1] & 0x04) != 0); in wacom_bpt3_button_msg()
2977 input_report_key(input, BTN_RIGHT, (data[1] & 0x01) != 0); in wacom_bpt3_button_msg()
3064 input_report_key(input, BTN_TOUCH, pen); in wacom_bpt_pen()
3065 input_report_key(input, BTN_STYLUS, btn1); in wacom_bpt_pen()
3066 input_report_key(input, BTN_STYLUS2, btn2); in wacom_bpt_pen()
3075 input_report_key(input, wacom->tool[0], range); /* PEN or RUBBER */ in wacom_bpt_pen()
3160 input_report_key(input, BTN_LEFT, prefix & 0x40); in wacom_bamboo_pad_touch_event()
3161 input_report_key(input, BTN_RIGHT, prefix & 0x80); in wacom_bamboo_pad_touch_event()
4025 input_report_key(input_dev, key, mask & (1 << i)); in wacom_report_numbered_buttons()