/Linux-v4.19/drivers/input/ |
D | input-compat.c | 18 struct input_event *event) in input_event_from_user() 34 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user() 42 const struct input_event *event) in input_event_to_user() 58 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user() 103 struct input_event *event) in input_event_from_user() 105 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user() 112 const struct input_event *event) in input_event_to_user() 114 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user()
|
D | input-mt.c | 151 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state() 159 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state() 160 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state() 179 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 180 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 181 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 182 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 183 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 224 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation() 247 input_event(dev, EV_ABS, ABS_X, x); in input_mt_report_pointer_emulation() [all …]
|
D | input-compat.h | 60 sizeof(struct input_event_compat) : sizeof(struct input_event); in input_event_size() 67 return sizeof(struct input_event); in input_event_size() 73 struct input_event *event); 76 const struct input_event *event);
|
/Linux-v4.19/drivers/hid/ |
D | hid-steam.c | 927 input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); in steam_do_input_event() 928 input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); in steam_do_input_event() 929 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_input_event() 930 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); in steam_do_input_event() 931 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_input_event() 932 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event() 933 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_input_event() 934 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); in steam_do_input_event() 935 input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); in steam_do_input_event() 936 input_event(input, EV_KEY, BTN_MODE, !!(b9 & BIT(5))); in steam_do_input_event() [all …]
|
D | hid-ntrig.c | 634 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event() 635 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event() 727 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event() 728 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event() 732 input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); in ntrig_event() 733 input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y); in ntrig_event() 740 input_event(input, EV_ABS, in ntrig_event() 742 input_event(input, EV_ABS, in ntrig_event() 744 input_event(input, EV_ABS, in ntrig_event() 747 input_event(input, EV_ABS, in ntrig_event() [all …]
|
D | hid-ite.c | 33 input_event(input, EV_KEY, KEY_RFKILL, 1); in ite_event() 35 input_event(input, EV_KEY, KEY_RFKILL, 0); in ite_event()
|
D | hid-gyration.c | 67 input_event(input, usage->type, usage->code, 1); in gyration_event() 69 input_event(input, usage->type, usage->code, 0); in gyration_event()
|
D | hid-a4tech.c | 69 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event() 81 input_event(input, usage->type, REL_HWHEEL, value); in a4_event()
|
D | hid-apple.c | 190 input_event(input, usage->type, usage->code, value); in hidinput_apple_event() 222 input_event(input, usage->type, trans->to, in hidinput_apple_event() 243 input_event(input, usage->type, trans->to, in hidinput_apple_event() 255 input_event(input, usage->type, trans->to, value); in hidinput_apple_event() 264 input_event(input, usage->type, trans->to, value); in hidinput_apple_event() 283 input_event(field->hidinput->input, usage->type, usage->code, in apple_event()
|
D | hid-zydacron.c | 126 input_event(zc->input_ep81, EV_KEY, key, 0); in zc_raw_event() 155 input_event(zc->input_ep81, EV_KEY, key, 1); in zc_raw_event()
|
D | hid-xinmo.c | 37 input_event(field->hidinput->input, usage->type, in xinmo_event()
|
D | hid-multitouch.c | 899 input_event(input, EV_KEY, BTN_LEFT, app->left_button_state); in mt_sync_frame() 902 input_event(input, EV_MSC, MSC_TIMESTAMP, app->timestamp); in mt_sync_frame() 1058 input_event(input, EV_ABS, ABS_MT_POSITION_X, *slot->x); in mt_process_slot() 1059 input_event(input, EV_ABS, ABS_MT_POSITION_Y, *slot->y); in mt_process_slot() 1060 input_event(input, EV_ABS, ABS_MT_TOOL_X, *slot->cx); in mt_process_slot() 1061 input_event(input, EV_ABS, ABS_MT_TOOL_Y, *slot->cy); in mt_process_slot() 1062 input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state); in mt_process_slot() 1063 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); in mt_process_slot() 1064 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); in mt_process_slot() 1065 input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in mt_process_slot() [all …]
|
/Linux-v4.19/include/linux/ |
D | input.h | 388 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); 393 input_event(dev, EV_KEY, code, !!value); in input_report_key() 398 input_event(dev, EV_REL, code, value); in input_report_rel() 403 input_event(dev, EV_ABS, code, value); in input_report_abs() 408 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status() 413 input_event(dev, EV_SW, code, !!value); in input_report_switch() 418 input_event(dev, EV_SYN, SYN_REPORT, 0); in input_sync() 423 input_event(dev, EV_SYN, SYN_MT_REPORT, 0); in input_mt_sync()
|
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 101 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x); in rmi_2d_sensor_abs_report() 102 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y); in rmi_2d_sensor_abs_report() 103 input_event(sensor->input, EV_ABS, ABS_MT_ORIENTATION, wide); in rmi_2d_sensor_abs_report() 104 input_event(sensor->input, EV_ABS, ABS_MT_PRESSURE, obj->z); in rmi_2d_sensor_abs_report() 105 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in rmi_2d_sensor_abs_report() 106 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in rmi_2d_sensor_abs_report()
|
/Linux-v4.19/drivers/input/keyboard/ |
D | gpio_keys_polled.c | 58 input_event(input, type, button->code, button->value); in gpio_keys_button_event() 63 input_event(input, type, button->code, button->value); in gpio_keys_button_event() 67 input_event(input, type, button->code, state); in gpio_keys_button_event() 117 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll() 122 input_event(input, EV_ABS, i, 0); in gpio_keys_polled_poll()
|
D | maple_keyb.c | 105 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 115 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 127 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd()
|
/Linux-v4.19/drivers/platform/x86/ |
D | peaq-wmi.c | 59 input_event(peaq_poll_dev->input, EV_KEY, KEY_SOUND, 1); in peaq_wmi_poll() 61 input_event(peaq_poll_dev->input, EV_KEY, KEY_SOUND, 0); in peaq_wmi_poll()
|
/Linux-v4.19/drivers/media/pci/ttpci/ |
D | av7110_ir.c | 138 input_event(ir->input_dev, EV_MSC, MSC_RAW, (addr << 16) | data); in av7110_emit_key() 139 input_event(ir->input_dev, EV_MSC, MSC_SCAN, data); in av7110_emit_key() 158 input_event(ir->input_dev, EV_KEY, ir->last_key, 0); in av7110_emit_key() 160 input_event(ir->input_dev, EV_KEY, keycode, 1); in av7110_emit_key()
|
/Linux-v4.19/drivers/input/tablet/ |
D | gtco.c | 683 input_event(inputdev, EV_MSC, MSC_SERIAL, val); in gtco_urb_callback() 716 input_event(inputdev, EV_MSC, MSC_SERIAL, val); in gtco_urb_callback() 722 input_event(inputdev, EV_MSC, MSC_SCAN, in gtco_urb_callback() 735 input_event(inputdev, EV_MSC, MSC_SCAN, device->buffer[1]); in gtco_urb_callback() 786 input_event(inputdev, EV_MSC, MSC_SERIAL, val); in gtco_urb_callback() 795 input_event(inputdev, EV_MSC, MSC_RAW, device->buffer[0]); in gtco_urb_callback()
|
/Linux-v4.19/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 135 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 137 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 142 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 144 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control()
|
/Linux-v4.19/drivers/input/misc/ |
D | cobalt_btns.c | 60 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 66 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
|
D | sgi_btns.c | 78 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 84 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
|
D | sirfsoc-onkey.c | 48 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 0); in sirfsoc_pwrc_report_event() 63 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 1); in sirfsoc_pwrc_isr()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | max11801_ts.c | 141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); in max11801_ts_interrupt() 146 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0); in max11801_ts_interrupt()
|
/Linux-v4.19/Documentation/input/ |
D | ff.rst | 162 struct input_event play; 163 struct input_event stop; 194 struct input_event ie; /* structure used to communicate with the driver */ 213 struct input_event ie; 243 struct input_event {
|