/linux/drivers/input/joystick/ |
H A D | psxpad-spi.c | 236 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 …]
|
H A D | spaceball.c | 89 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 …]
|
H A D | xpad.c | 783 input_report_key(dev, BTN_TL2, data[10]); in xpad_process_packet() 784 input_report_key(dev, BTN_TR2, data[11]); in xpad_process_packet() 793 input_report_key(dev, BTN_TRIGGER_HAPPY1, data[2] & BIT(2)); in xpad_process_packet() 794 input_report_key(dev, BTN_TRIGGER_HAPPY2, data[2] & BIT(3)); in xpad_process_packet() 795 input_report_key(dev, BTN_TRIGGER_HAPPY3, data[2] & BIT(0)); in xpad_process_packet() 796 input_report_key(dev, BTN_TRIGGER_HAPPY4, data[2] & BIT(1)); in xpad_process_packet() 805 input_report_key(dev, BTN_START, data[2] & BIT(4)); in xpad_process_packet() 806 input_report_key(dev, BTN_SELECT, data[2] & BIT(5)); in xpad_process_packet() 807 input_report_key(dev, BTN_THUMBL, data[2] & BIT(6)); in xpad_process_packet() 808 input_report_key(dev, BTN_THUMBR, data[2] & BIT(7)); in xpad_process_packet() [all …]
|
H A D | db9.c | 280 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 …]
|
H A D | stinger.c | 52 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()
|
H A D | n64joy.c | 161 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 …]
|
H A D | maplecontrol.c | 46 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()
|
H A D | a3d.c | 107 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 …]
|
H A D | gamecon.c | 239 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 …]
|
H A D | sidewinder.c | 305 input_report_key(dev, sw_btn[SW_ID_3DP][j], !GB(j+8,1)); in sw_parse() 307 input_report_key(dev, BTN_BASE4, !GB(38,1)); in sw_parse() 308 input_report_key(dev, BTN_BASE5, !GB(37,1)); in sw_parse() 325 input_report_key(sw->dev[i], sw_btn[SW_ID_GP][j], !GB(i*15+j+4,1)); in sw_parse() 348 input_report_key(dev, sw_btn[SW_ID_PP][j], !GB(j,1)); in sw_parse() 368 input_report_key(dev, sw_btn[SW_ID_FSP][j], !GB(j+10,1)); in sw_parse() 370 input_report_key(dev, BTN_TR, !GB(26,1)); in sw_parse() 371 input_report_key(dev, BTN_START, !GB(27,1)); in sw_parse() 372 input_report_key(dev, BTN_MODE, !GB(38,1)); in sw_parse() 373 input_report_key(dev, BTN_SELECT, !GB(39,1)); in sw_parse() [all …]
|
/linux/drivers/hid/ |
H A D | hid-udraw-ps3.c | 121 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 …]
|
H A D | wacom_wac.c | 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() [all …]
|
H A D | hid-wiimote-modules.c | 64 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 …]
|
H A D | hid-lg-g15.c | 481 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 …]
|
H A D | hid-letsketch.c | 161 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/drivers/input/mouse/ |
H A D | sermouse.c | 52 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 …]
|
H A D | vsxxxaa.c | 240 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 …]
|
H A D | logips2pp.c | 63 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()
|
H A D | synaptics_usb.c | 98 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()
|
/linux/drivers/input/tablet/ |
H A D | hanwang.c | 124 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 …]
|
H A D | aiptek.c | 475 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 …]
|
H A D | wacom_serial4.c | 338 input_report_key(wacom->dev, tools[wacom->tool].input_id, 0); in wacom_handle_packet() 343 input_report_key(wacom->dev, tools[tool].input_id, in_proximity_p); in wacom_handle_packet() 350 input_report_key(wacom->dev, BTN_TOUCH, button & 1); in wacom_handle_packet() 351 input_report_key(wacom->dev, BTN_STYLUS, button & 2); in wacom_handle_packet() 352 input_report_key(wacom->dev, BTN_STYLUS2, button & 4); in wacom_handle_packet() 354 input_report_key(wacom->dev, BTN_LEFT, button & 1); in wacom_handle_packet() 355 input_report_key(wacom->dev, BTN_RIGHT, button & 2); in wacom_handle_packet() 356 input_report_key(wacom->dev, BTN_MIDDLE, button & 4); in wacom_handle_packet()
|
/linux/drivers/macintosh/ |
H A D | adbhid.c | 332 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/drivers/hid/usbhid/ |
H A D | usbmouse.c | 68 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()
|
/linux/drivers/media/rc/ |
H A D | ir-mce_kbd-decoder.c | 124 input_report_key(raw->dev->input_dev, maskcode, 0); in mce_kbd_rx_timeout() 128 input_report_key(raw->dev->input_dev, kbd_keycodes[i], in mce_kbd_rx_timeout() 165 input_report_key(dev->input_dev, maskcode, keystate); in ir_mce_kbd_process_keyboard_data() 169 input_report_key(dev->input_dev, kbd_keycodes[keydata1], 1); in ir_mce_kbd_process_keyboard_data() 171 input_report_key(dev->input_dev, kbd_keycodes[keydata2], 1); in ir_mce_kbd_process_keyboard_data() 175 input_report_key(dev->input_dev, kbd_keycodes[i], 0); in ir_mce_kbd_process_keyboard_data() 205 input_report_key(dev->input_dev, BTN_LEFT, left); in ir_mce_kbd_process_mouse_data() 206 input_report_key(dev->input_dev, BTN_RIGHT, right); in ir_mce_kbd_process_mouse_data()
|