Home
last modified time | relevance | path

Searched refs:input_report_key (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/linux-6.6.21/drivers/input/joystick/
Dpsxpad-spi.c236 input_report_key(input, BTN_DPAD_UP, b_rsp3 & BIT(3)); in psxpad_spi_poll()
237 input_report_key(input, BTN_DPAD_DOWN, b_rsp3 & BIT(1)); in psxpad_spi_poll()
238 input_report_key(input, BTN_DPAD_LEFT, b_rsp3 & BIT(0)); in psxpad_spi_poll()
239 input_report_key(input, BTN_DPAD_RIGHT, b_rsp3 & BIT(2)); in psxpad_spi_poll()
240 input_report_key(input, BTN_X, b_rsp4 & BIT(3)); in psxpad_spi_poll()
241 input_report_key(input, BTN_A, b_rsp4 & BIT(2)); in psxpad_spi_poll()
242 input_report_key(input, BTN_B, b_rsp4 & BIT(1)); in psxpad_spi_poll()
243 input_report_key(input, BTN_Y, b_rsp4 & BIT(0)); in psxpad_spi_poll()
244 input_report_key(input, BTN_TL, b_rsp4 & BIT(5)); in psxpad_spi_poll()
245 input_report_key(input, BTN_TR, b_rsp4 & BIT(4)); in psxpad_spi_poll()
[all …]
Dspaceball.c89 input_report_key(dev, BTN_1, (data[2] & 0x01) || (data[2] & 0x20)); in spaceball_process_packet()
90 input_report_key(dev, BTN_2, data[2] & 0x02); in spaceball_process_packet()
91 input_report_key(dev, BTN_3, data[2] & 0x04); in spaceball_process_packet()
92 input_report_key(dev, BTN_4, data[2] & 0x08); in spaceball_process_packet()
93 input_report_key(dev, BTN_5, data[1] & 0x01); in spaceball_process_packet()
94 input_report_key(dev, BTN_6, data[1] & 0x02); in spaceball_process_packet()
95 input_report_key(dev, BTN_7, data[1] & 0x04); in spaceball_process_packet()
96 input_report_key(dev, BTN_8, data[1] & 0x10); in spaceball_process_packet()
101 input_report_key(dev, BTN_1, data[2] & 0x01); in spaceball_process_packet()
102 input_report_key(dev, BTN_2, data[2] & 0x02); in spaceball_process_packet()
[all …]
Dxpad.c761 input_report_key(dev, BTN_TL2, data[10]); in xpad_process_packet()
762 input_report_key(dev, BTN_TR2, data[11]); in xpad_process_packet()
771 input_report_key(dev, BTN_TRIGGER_HAPPY1, data[2] & BIT(2)); in xpad_process_packet()
772 input_report_key(dev, BTN_TRIGGER_HAPPY2, data[2] & BIT(3)); in xpad_process_packet()
773 input_report_key(dev, BTN_TRIGGER_HAPPY3, data[2] & BIT(0)); in xpad_process_packet()
774 input_report_key(dev, BTN_TRIGGER_HAPPY4, data[2] & BIT(1)); in xpad_process_packet()
783 input_report_key(dev, BTN_START, data[2] & BIT(4)); in xpad_process_packet()
784 input_report_key(dev, BTN_SELECT, data[2] & BIT(5)); in xpad_process_packet()
785 input_report_key(dev, BTN_THUMBL, data[2] & BIT(6)); in xpad_process_packet()
786 input_report_key(dev, BTN_THUMBR, data[2] & BIT(7)); in xpad_process_packet()
[all …]
Ddb9.c280 input_report_key(dev, db9_cd32_btn[i], ~data[j + db9_saturn_byte[i]] & db9_saturn_mask[i]); in db9_saturn_report()
286 input_report_key(dev, db9_cd32_btn[i], ~data[j + db9_saturn_byte[i]] & db9_saturn_mask[i]); in db9_saturn_report()
299 input_report_key(dev, BTN_A, data[j + 3] & 0x80); in db9_saturn_report()
303 input_report_key(dev, BTN_START, data[j + 1] & 0x08); in db9_saturn_report()
304 input_report_key(dev, BTN_A, data[j + 1] & 0x04); in db9_saturn_report()
305 input_report_key(dev, BTN_C, data[j + 1] & 0x02); in db9_saturn_report()
306 input_report_key(dev, BTN_B, data[j + 1] & 0x01); in db9_saturn_report()
315 input_report_key(dev, db9_cd32_btn[i], 0); in db9_saturn_report()
367 input_report_key(dev2, BTN_TRIGGER, ~data & DB9_FIRE1); in db9_timer()
376 input_report_key(dev, BTN_TRIGGER, data & DB9_FIRE1); in db9_timer()
[all …]
Dstinger.c52 input_report_key(dev, BTN_A, ((data[0] & 0x20) >> 5)); in stinger_process_packet()
53 input_report_key(dev, BTN_B, ((data[0] & 0x10) >> 4)); in stinger_process_packet()
54 input_report_key(dev, BTN_C, ((data[0] & 0x08) >> 3)); in stinger_process_packet()
55 input_report_key(dev, BTN_X, ((data[0] & 0x04) >> 2)); in stinger_process_packet()
56 input_report_key(dev, BTN_Y, ((data[3] & 0x20) >> 5)); in stinger_process_packet()
57 input_report_key(dev, BTN_Z, ((data[3] & 0x10) >> 4)); in stinger_process_packet()
58 input_report_key(dev, BTN_TL, ((data[3] & 0x08) >> 3)); in stinger_process_packet()
59 input_report_key(dev, BTN_TR, ((data[3] & 0x04) >> 2)); in stinger_process_packet()
60 input_report_key(dev, BTN_SELECT, ((data[3] & 0x02) >> 1)); in stinger_process_packet()
61 input_report_key(dev, BTN_START, (data[3] & 0x01)); in stinger_process_packet()
Dn64joy.c161 input_report_key(dev, BTN_DPAD_UP, data[i].up); in n64joy_poll()
162 input_report_key(dev, BTN_DPAD_DOWN, data[i].down); in n64joy_poll()
163 input_report_key(dev, BTN_DPAD_LEFT, data[i].left); in n64joy_poll()
164 input_report_key(dev, BTN_DPAD_RIGHT, data[i].right); in n64joy_poll()
167 input_report_key(dev, BTN_FORWARD, data[i].c_up); in n64joy_poll()
168 input_report_key(dev, BTN_BACK, data[i].c_down); in n64joy_poll()
169 input_report_key(dev, BTN_LEFT, data[i].c_left); in n64joy_poll()
170 input_report_key(dev, BTN_RIGHT, data[i].c_right); in n64joy_poll()
173 input_report_key(dev, BTN_START, data[i].start); in n64joy_poll()
174 input_report_key(dev, BTN_Z, data[i].z); in n64joy_poll()
[all …]
Dmaplecontrol.c46 input_report_key(dev, BTN_C, buttons & 0x0001); in dc_pad_callback()
47 input_report_key(dev, BTN_B, buttons & 0x0002); in dc_pad_callback()
48 input_report_key(dev, BTN_A, buttons & 0x0004); in dc_pad_callback()
49 input_report_key(dev, BTN_START, buttons & 0x0008); in dc_pad_callback()
50 input_report_key(dev, BTN_Z, buttons & 0x0100); in dc_pad_callback()
51 input_report_key(dev, BTN_Y, buttons & 0x0200); in dc_pad_callback()
52 input_report_key(dev, BTN_X, buttons & 0x0400); in dc_pad_callback()
53 input_report_key(dev, BTN_SELECT, buttons & 0x0800); in dc_pad_callback()
Da3d.c107 input_report_key(dev, BTN_RIGHT, data[2] & 1); in a3d_read()
108 input_report_key(dev, BTN_LEFT, data[3] & 2); in a3d_read()
109 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read()
127 input_report_key(dev, BTN_RIGHT, data[2] & 1); in a3d_read()
128 input_report_key(dev, BTN_LEFT, data[3] & 2); in a3d_read()
129 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read()
130 input_report_key(dev, BTN_SIDE, data[7] & 2); in a3d_read()
131 input_report_key(dev, BTN_EXTRA, data[7] & 4); in a3d_read()
143 input_report_key(dev, BTN_TRIGGER, data[8] & 1); in a3d_read()
144 input_report_key(dev, BTN_THUMB, data[8] & 2); in a3d_read()
[all …]
Dgamecon.c239 input_report_key(dev, gc_n64_btn[j], in gc_n64_process_packet()
382 input_report_key(dev, gc_snes_btn[j], in gc_nes_process_packet()
393 input_report_key(dev, gc_snes_btn[j], in gc_nes_process_packet()
410 input_report_key(dev, BTN_LEFT, s & data[9]); in gc_nes_process_packet()
411 input_report_key(dev, BTN_RIGHT, s & data[8]); in gc_nes_process_packet()
484 input_report_key(dev, BTN_THUMB, s & data[5]); in gc_multi_process_packet()
492 input_report_key(dev, BTN_TRIGGER, s & data[4]); in gc_multi_process_packet()
636 input_report_key(dev, BTN_THUMBL, ~data[0] & 0x04); in gc_psx_report_one()
637 input_report_key(dev, BTN_THUMBR, ~data[0] & 0x02); in gc_psx_report_one()
645 input_report_key(dev, gc_psx_ddr_btn[i], in gc_psx_report_one()
[all …]
/linux-6.6.21/drivers/hid/
Dhid-udraw-ps3.c121 input_report_key(udraw->joy_input_dev, BTN_WEST, data[0] & 1); in udraw_raw_event()
122 input_report_key(udraw->joy_input_dev, BTN_SOUTH, !!(data[0] & 2)); in udraw_raw_event()
123 input_report_key(udraw->joy_input_dev, BTN_EAST, !!(data[0] & 4)); in udraw_raw_event()
124 input_report_key(udraw->joy_input_dev, BTN_NORTH, !!(data[0] & 8)); in udraw_raw_event()
126 input_report_key(udraw->joy_input_dev, BTN_SELECT, !!(data[1] & 1)); in udraw_raw_event()
127 input_report_key(udraw->joy_input_dev, BTN_START, !!(data[1] & 2)); in udraw_raw_event()
128 input_report_key(udraw->joy_input_dev, BTN_MODE, !!(data[1] & 16)); in udraw_raw_event()
214 input_report_key(udraw->touch_input_dev, BTN_TOUCH, 1); in udraw_raw_event()
215 input_report_key(udraw->touch_input_dev, BTN_TOOL_FINGER, in udraw_raw_event()
217 input_report_key(udraw->touch_input_dev, BTN_TOOL_DOUBLETAP, in udraw_raw_event()
[all …]
Dwacom_wac.c47 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()
[all …]
Dhid-wiimote-modules.c64 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys()
66 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], in wiimod_keys_in_keys()
68 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], in wiimod_keys_in_keys()
70 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], in wiimod_keys_in_keys()
72 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_PLUS], in wiimod_keys_in_keys()
74 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_TWO], in wiimod_keys_in_keys()
76 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_ONE], in wiimod_keys_in_keys()
78 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_B], in wiimod_keys_in_keys()
80 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_A], in wiimod_keys_in_keys()
82 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_MINUS], in wiimod_keys_in_keys()
[all …]
Dhid-lg-g15.c481 input_report_key(g15->input, KEY_KBD_LCD_MENU1, data[8] & 0x80); in lg_g15_handle_lcd_menu_keys()
485 input_report_key(g15->input, KEY_KBD_LCD_MENU2 + i, val); in lg_g15_handle_lcd_menu_keys()
496 input_report_key(g15->input, KEY_MACRO1 + i, val); in lg_g15_event()
501 input_report_key(g15->input, KEY_MACRO7 + i, val); in lg_g15_event()
506 input_report_key(g15->input, KEY_MACRO13 + i, val); in lg_g15_event()
509 input_report_key(g15->input, KEY_MACRO18, data[8] & 0x40); in lg_g15_event()
514 input_report_key(g15->input, KEY_MACRO_PRESET1 + i, val); in lg_g15_event()
517 input_report_key(g15->input, KEY_MACRO_RECORD_START, data[7] & 0x40); in lg_g15_event()
536 input_report_key(g15->input, KEY_MACRO1 + i, val); in lg_g15_v2_event()
540 input_report_key(g15->input, KEY_MACRO_PRESET1, data[1] & 0x40); in lg_g15_v2_event()
[all …]
Dhid-letsketch.c161 input_report_key(input, BTN_TOOL_PEN, 0); in letsketch_inrange_timeout()
179 input_report_key(input, BTN_TOOL_PEN, 1); in letsketch_raw_event()
180 input_report_key(input, BTN_TOUCH, raw_data[1] & 0x01); in letsketch_raw_event()
181 input_report_key(input, BTN_STYLUS, raw_data[1] & 0x02); in letsketch_raw_event()
182 input_report_key(input, BTN_STYLUS2, raw_data[1] & 0x04); in letsketch_raw_event()
198 input_report_key(input, BTN_0 + i, raw_data[4] == (i + 1)); in letsketch_raw_event()
/linux-6.6.21/drivers/input/mouse/
Dsermouse.c52 input_report_key(dev, BTN_LEFT, !(data & 4)); in sermouse_process_msc()
53 input_report_key(dev, BTN_RIGHT, !(data & 1)); in sermouse_process_msc()
54 input_report_key(dev, BTN_MIDDLE, !(data & 2)); in sermouse_process_msc()
98 input_report_key(dev, BTN_LEFT, (data >> 5) & 1); in sermouse_process_ms()
99 input_report_key(dev, BTN_RIGHT, (data >> 4) & 1); in sermouse_process_ms()
113 input_report_key(dev, BTN_MIDDLE, !test_bit(BTN_MIDDLE, dev->key)); in sermouse_process_ms()
132 input_report_key(dev, BTN_MIDDLE, (data >> 5) & 1); in sermouse_process_ms()
133 input_report_key(dev, BTN_SIDE, (data >> 4) & 1); in sermouse_process_ms()
138 input_report_key(dev, BTN_SIDE, (data >> 5) & 1); in sermouse_process_ms()
142 input_report_key(dev, BTN_MIDDLE, (data >> 4) & 1); in sermouse_process_ms()
[all …]
Dvsxxxaa.c240 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet()
241 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_REL_packet()
242 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_REL_packet()
243 input_report_key(dev, BTN_TOUCH, 0); in vsxxxaa_handle_REL_packet()
292 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet()
293 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_ABS_packet()
294 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_ABS_packet()
295 input_report_key(dev, BTN_TOUCH, touch); in vsxxxaa_handle_ABS_packet()
345 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_POR_packet()
346 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_POR_packet()
[all …]
Dlogips2pp.c63 input_report_key(dev, BTN_SIDE, packet[2] & BIT(4)); in ps2pp_process_byte()
64 input_report_key(dev, BTN_EXTRA, packet[2] & BIT(5)); in ps2pp_process_byte()
70 input_report_key(dev, BTN_SIDE, packet[2] & BIT(0)); in ps2pp_process_byte()
71 input_report_key(dev, BTN_EXTRA, packet[2] & BIT(1)); in ps2pp_process_byte()
72 input_report_key(dev, BTN_TASK, packet[2] & BIT(2)); in ps2pp_process_byte()
73 input_report_key(dev, BTN_BACK, packet[2] & BIT(3)); in ps2pp_process_byte()
74 input_report_key(dev, BTN_FORWARD, packet[2] & BIT(4)); in ps2pp_process_byte()
Dsynaptics_usb.c98 input_report_key(input_dev, BTN_LEFT, synusb->data[1] & 0x04); in synusb_report_buttons()
99 input_report_key(input_dev, BTN_RIGHT, synusb->data[1] & 0x01); in synusb_report_buttons()
100 input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x02); in synusb_report_buttons()
164 input_report_key(input_dev, BTN_TOUCH, 1); in synusb_report_touchpad()
166 input_report_key(input_dev, BTN_TOUCH, 0); in synusb_report_touchpad()
177 input_report_key(input_dev, BTN_TOOL_FINGER, num_fingers == 1); in synusb_report_touchpad()
178 input_report_key(input_dev, BTN_TOOL_DOUBLETAP, num_fingers == 2); in synusb_report_touchpad()
179 input_report_key(input_dev, BTN_TOOL_TRIPLETAP, num_fingers == 3); in synusb_report_touchpad()
183 input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x08); in synusb_report_touchpad()
Datarimouse.c80 input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x4); in atamouse_interrupt()
81 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2); in atamouse_interrupt()
82 input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x1); in atamouse_interrupt()
Drpcmouse.c53 input_report_key(dev, BTN_LEFT, b & 0x40); in rpcmouse_irq()
54 input_report_key(dev, BTN_MIDDLE, b & 0x20); in rpcmouse_irq()
55 input_report_key(dev, BTN_RIGHT, b & 0x10); in rpcmouse_irq()
/linux-6.6.21/drivers/input/tablet/
Dhanwang.c124 input_report_key(input_dev, in hanwang_parse_packet()
132 input_report_key(input_dev, in hanwang_parse_packet()
143 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
149 input_report_key(input_dev, BTN_TOOL_RUBBER, 1); in hanwang_parse_packet()
184 input_report_key(input_dev, BTN_STYLUS, data[1] & 0x02); in hanwang_parse_packet()
187 input_report_key(input_dev, BTN_STYLUS2, in hanwang_parse_packet()
190 input_report_key(input_dev, BTN_TOOL_PEN, 1); in hanwang_parse_packet()
206 input_report_key(input_dev, BTN_TOOL_FINGER, in hanwang_parse_packet()
209 input_report_key(input_dev, BTN_0, data[2]); in hanwang_parse_packet()
211 input_report_key(input_dev, in hanwang_parse_packet()
[all …]
Daiptek.c475 input_report_key(inputdev, BTN_LEFT, left); in aiptek_irq()
476 input_report_key(inputdev, BTN_MIDDLE, middle); in aiptek_irq()
477 input_report_key(inputdev, BTN_RIGHT, right); in aiptek_irq()
493 input_report_key(inputdev, in aiptek_irq()
535 input_report_key(inputdev, in aiptek_irq()
537 input_report_key(inputdev, in aiptek_irq()
549 input_report_key(inputdev, BTN_TOUCH, tip); in aiptek_irq()
550 input_report_key(inputdev, BTN_STYLUS, bs); in aiptek_irq()
551 input_report_key(inputdev, BTN_STYLUS2, pck); in aiptek_irq()
578 input_report_key(inputdev, in aiptek_irq()
[all …]
/linux-6.6.21/drivers/input/keyboard/
Dep93xx_keypad.c100 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
103 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
105 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
106 input_report_key(input_dev, key2, 1); in ep93xx_keypad_irq_handler()
113 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
116 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
118 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
124 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
125 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
/linux-6.6.21/drivers/macintosh/
Dadbhid.c332 input_report_key(ahid->input, KEY_CAPSLOCK, 1); in adbhid_input_keycode()
334 input_report_key(ahid->input, KEY_CAPSLOCK, 0); in adbhid_input_keycode()
396 input_report_key(adbhid[id]->input, key, !up_flag); in adbhid_input_keycode()
488 input_report_key(adbhid[id]->input, BTN_LEFT, !((data[1] >> 7) & 1)); in adbhid_mouse_input()
489 input_report_key(adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1)); in adbhid_mouse_input()
492 input_report_key(adbhid[id]->input, BTN_RIGHT, !((data[3] >> 7) & 1)); in adbhid_mouse_input()
520 input_report_key(adbhid[id]->input, KEY_SOUND, down); in adbhid_buttons_input()
524 input_report_key(adbhid[id]->input, KEY_MUTE, down); in adbhid_buttons_input()
528 input_report_key(adbhid[id]->input, KEY_VOLUMEDOWN, down); in adbhid_buttons_input()
532 input_report_key(adbhid[id]->input, KEY_VOLUMEUP, down); in adbhid_buttons_input()
[all …]
/linux-6.6.21/drivers/hid/usbhid/
Dusbmouse.c68 input_report_key(dev, BTN_LEFT, data[0] & 0x01); in usb_mouse_irq()
69 input_report_key(dev, BTN_RIGHT, data[0] & 0x02); in usb_mouse_irq()
70 input_report_key(dev, BTN_MIDDLE, data[0] & 0x04); in usb_mouse_irq()
71 input_report_key(dev, BTN_SIDE, data[0] & 0x08); in usb_mouse_irq()
72 input_report_key(dev, BTN_EXTRA, data[0] & 0x10); in usb_mouse_irq()

12345678910>>...14