Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/hid/
Dhid-udraw-ps3.c129 input_report_key(udraw->joy_input_dev, BTN_WEST, data[0] & 1); in udraw_raw_event()
130 input_report_key(udraw->joy_input_dev, BTN_SOUTH, !!(data[0] & 2)); in udraw_raw_event()
131 input_report_key(udraw->joy_input_dev, BTN_EAST, !!(data[0] & 4)); in udraw_raw_event()
132 input_report_key(udraw->joy_input_dev, BTN_NORTH, !!(data[0] & 8)); in udraw_raw_event()
134 input_report_key(udraw->joy_input_dev, BTN_SELECT, !!(data[1] & 1)); in udraw_raw_event()
135 input_report_key(udraw->joy_input_dev, BTN_START, !!(data[1] & 2)); in udraw_raw_event()
136 input_report_key(udraw->joy_input_dev, BTN_MODE, !!(data[1] & 16)); in udraw_raw_event()
222 input_report_key(udraw->touch_input_dev, BTN_TOUCH, 1); in udraw_raw_event()
223 input_report_key(udraw->touch_input_dev, BTN_TOOL_FINGER, in udraw_raw_event()
225 input_report_key(udraw->touch_input_dev, BTN_TOOL_DOUBLETAP, in udraw_raw_event()
[all …]
Dwacom_wac.c56 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()
[all …]
Dhid-wiimote-modules.c67 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys()
69 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], in wiimod_keys_in_keys()
71 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], in wiimod_keys_in_keys()
73 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], in wiimod_keys_in_keys()
75 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_PLUS], in wiimod_keys_in_keys()
77 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_TWO], in wiimod_keys_in_keys()
79 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_ONE], in wiimod_keys_in_keys()
81 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_B], in wiimod_keys_in_keys()
83 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_A], in wiimod_keys_in_keys()
85 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_MINUS], in wiimod_keys_in_keys()
[all …]
Dhid-microsoft.c211 input_report_key(input, KEY_KPEQUAL, value & 0x01); in ms_event()
212 input_report_key(input, KEY_KPLEFTPAREN, value & 0x02); in ms_event()
213 input_report_key(input, KEY_KPRIGHTPAREN, value & 0x04); in ms_event()
Dhid-alps.c356 input_report_key(hdata->input, BTN_LEFT, p_report->button); in t4_raw_event()
403 input_report_key(hdata->input, BTN_LEFT, in u1_raw_event()
405 input_report_key(hdata->input, BTN_RIGHT, in u1_raw_event()
407 input_report_key(hdata->input, BTN_MIDDLE, in u1_raw_event()
424 input_report_key(hdata->input2, BTN_LEFT, in u1_raw_event()
426 input_report_key(hdata->input2, BTN_RIGHT, in u1_raw_event()
428 input_report_key(hdata->input2, BTN_MIDDLE, in u1_raw_event()
Dhid-saitek.c166 input_report_key(input, usage->code, 1); in saitek_event()
169 input_report_key(input, usage->code, 0); in saitek_event()
Dhid-ntrig.c630 input_report_key(input, BTN_TOUCH, in ntrig_event()
632 input_report_key(input, BTN_TOOL_DOUBLETAP, in ntrig_event()
840 input_report_key(input, BTN_TOOL_DOUBLETAP, 1); in ntrig_event()
841 input_report_key(input, BTN_TOUCH, 1); in ntrig_event()
843 input_report_key(input, BTN_TOOL_DOUBLETAP, 0); in ntrig_event()
844 input_report_key(input, BTN_TOUCH, 0); in ntrig_event()
Dhid-magicmouse.c172 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons()
175 input_report_key(msc->input, BTN_LEFT, state & 1); in magicmouse_emit_buttons()
176 input_report_key(msc->input, BTN_RIGHT, state & 2); in magicmouse_emit_buttons()
356 input_report_key(input, BTN_MOUSE, clicks & 1); in magicmouse_raw_event()
Dhid-elo.c71 input_report_key(input, BTN_TOUCH, 1); in elo_process_data()
76 input_report_key(input, BTN_TOUCH, 0); in elo_process_data()
Dhid-appleir.c161 input_report_key(appleir->input_dev, key, 0); in key_up()
167 input_report_key(appleir->input_dev, key, 1); in key_down()
Dhid-elan.c283 input_report_key(input, BTN_LEFT, data[2] & 0x01); in elan_usb_report_input()
316 input_report_key(input, BTN_LEFT, prev_report[2] & 0x01); in elan_usb_report_input()
358 input_report_key(input, BTN_LEFT, data[1] & 0x01); in elan_i2c_report_input()
Dhid-sony.c957 input_report_key(sc->touchpad, BTN_LEFT, rd[offset+2] & 0x2); in dualshock4_parse_report()
988 input_report_key(input_dev, BTN_WEST, rd[offset+4] & 0x10); in dualshock4_parse_report()
989 input_report_key(input_dev, BTN_SOUTH, rd[offset+4] & 0x20); in dualshock4_parse_report()
990 input_report_key(input_dev, BTN_EAST, rd[offset+4] & 0x40); in dualshock4_parse_report()
991 input_report_key(input_dev, BTN_NORTH, rd[offset+4] & 0x80); in dualshock4_parse_report()
993 input_report_key(input_dev, BTN_TL, rd[offset+5] & 0x1); in dualshock4_parse_report()
994 input_report_key(input_dev, BTN_TR, rd[offset+5] & 0x2); in dualshock4_parse_report()
995 input_report_key(input_dev, BTN_TL2, rd[offset+5] & 0x4); in dualshock4_parse_report()
996 input_report_key(input_dev, BTN_TR2, rd[offset+5] & 0x8); in dualshock4_parse_report()
997 input_report_key(input_dev, BTN_SELECT, rd[offset+5] & 0x10); in dualshock4_parse_report()
[all …]
Dhid-logitech-hidpp.c2430 input_report_key(mydata->input, BTN_MIDDLE, 1); in m560_raw_event()
2433 input_report_key(mydata->input, BTN_FORWARD, 1); in m560_raw_event()
2436 input_report_key(mydata->input, BTN_BACK, 1); in m560_raw_event()
2439 input_report_key(mydata->input, BTN_BACK, 0); in m560_raw_event()
2440 input_report_key(mydata->input, BTN_FORWARD, 0); in m560_raw_event()
2441 input_report_key(mydata->input, BTN_MIDDLE, 0); in m560_raw_event()
2461 input_report_key(mydata->input, BTN_LEFT, in m560_raw_event()
2463 input_report_key(mydata->input, BTN_RIGHT, in m560_raw_event()
Dhid-picolcd_core.c156 input_report_key(data->input_keys, key_code, 1); in picolcd_raw_keypad()
179 input_report_key(data->input_keys, key_code, 0); in picolcd_raw_keypad()
/linux-4.19.296/drivers/hid/usbhid/
Dusbmouse.c80 input_report_key(dev, BTN_LEFT, data[0] & 0x01); in usb_mouse_irq()
81 input_report_key(dev, BTN_RIGHT, data[0] & 0x02); in usb_mouse_irq()
82 input_report_key(dev, BTN_MIDDLE, data[0] & 0x04); in usb_mouse_irq()
83 input_report_key(dev, BTN_SIDE, data[0] & 0x08); in usb_mouse_irq()
84 input_report_key(dev, BTN_EXTRA, data[0] & 0x10); in usb_mouse_irq()
Dusbkbd.c130 input_report_key(kbd->dev, usb_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1); in usb_kbd_irq()
136 input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0); in usb_kbd_irq()
145 input_report_key(kbd->dev, usb_kbd_keycode[kbd->new[i]], 1); in usb_kbd_irq()
/linux-4.19.296/drivers/media/rc/
Dir-mce_kbd-decoder.c132 input_report_key(raw->mce_kbd.idev, maskcode, 0); in mce_kbd_rx_timeout()
136 input_report_key(raw->mce_kbd.idev, kbd_keycodes[i], 0); in mce_kbd_rx_timeout()
173 input_report_key(data->idev, maskcode, keystate); in ir_mce_kbd_process_keyboard_data()
177 input_report_key(data->idev, kbd_keycodes[keydata1], 1); in ir_mce_kbd_process_keyboard_data()
179 input_report_key(data->idev, kbd_keycodes[keydata2], 1); in ir_mce_kbd_process_keyboard_data()
183 input_report_key(data->idev, kbd_keycodes[i], 0); in ir_mce_kbd_process_keyboard_data()
214 input_report_key(data->idev, BTN_LEFT, left); in ir_mce_kbd_process_mouse_data()
215 input_report_key(data->idev, BTN_RIGHT, right); in ir_mce_kbd_process_mouse_data()
Dir-imon-decoder.c85 input_report_key(imon->idev, BTN_LEFT, in ir_imon_decode_scancode()
87 input_report_key(imon->idev, BTN_RIGHT, in ir_imon_decode_scancode()
Dimon.c1079 input_report_key(ictx->touch, BTN_TOUCH, 0x00); in imon_touch_display_timeout()
1342 input_report_key(ictx->idev, BTN_LEFT, buf[1] & 0x1); in imon_mouse_event()
1343 input_report_key(ictx->idev, BTN_RIGHT, in imon_mouse_event()
1362 input_report_key(ictx->touch, BTN_TOUCH, 0x01); in imon_touch_event()
1677 input_report_key(ictx->idev, kc, press_type); in imon_incoming_packet()
1681 input_report_key(ictx->idev, kc, 0); in imon_incoming_packet()
/linux-4.19.296/drivers/misc/ibmasm/
Dremote.c164 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT); in send_mouse_event()
165 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event()
166 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT); in send_mouse_event()
180 input_report_key(dev, key, input->data.keyboard.key_down); in send_keyboard_event()
/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d.c528 input_report_key(dev, lis3->mapped_btns[0], 1); in lis302dl_interrupt_handle_click()
529 input_report_key(dev, lis3->mapped_btns[0], 0); in lis302dl_interrupt_handle_click()
533 input_report_key(dev, lis3->mapped_btns[1], 1); in lis302dl_interrupt_handle_click()
534 input_report_key(dev, lis3->mapped_btns[1], 0); in lis302dl_interrupt_handle_click()
538 input_report_key(dev, lis3->mapped_btns[2], 1); in lis302dl_interrupt_handle_click()
539 input_report_key(dev, lis3->mapped_btns[2], 0); in lis302dl_interrupt_handle_click()
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c523 input_report_key(gspca_dev->input_dev, KEY_CAMERA, 1); in sd_int_pkt_scan()
529 input_report_key(gspca_dev->input_dev, KEY_CAMERA, 0); in sd_int_pkt_scan()
/linux-4.19.296/drivers/iio/adc/
Dat91_adc.c345 input_report_key(st->ts_input, BTN_TOUCH, 1); in at91_ts_sample()
389 input_report_key(st->ts_input, BTN_TOUCH, 0); in at91_adc_rl_interrupt()
401 input_report_key(st->ts_input, BTN_TOUCH, 1); in at91_adc_rl_interrupt()
446 input_report_key(st->ts_input, BTN_TOUCH, 0); in at91_adc_9x5_interrupt()
/linux-4.19.296/drivers/extcon/
Dextcon-arizona.c974 input_report_key(info->input, in arizona_micd_detect()
981 input_report_key(info->input, key, 1); in arizona_micd_detect()
998 input_report_key(info->input, in arizona_micd_detect()
1184 input_report_key(info->input, in arizona_jackdet()
/linux-4.19.296/include/linux/
Dinput.h391 static inline void input_report_key(struct input_dev *dev, unsigned int code, int value) in input_report_key() function

12