| /linux/drivers/input/ |
| H A D | input-compat.c | 16 struct input_event *event) in input_event_from_user() 32 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user() 40 const struct input_event *event) in input_event_to_user() 56 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user() 125 struct input_event *event) in input_event_from_user() 127 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user() 134 const struct input_event *event) in input_event_to_user() 136 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user()
|
| H A D | input-mt.c | 149 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state() 157 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state() 158 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state() 177 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 178 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 179 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 180 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 181 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 230 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation() 253 input_event(dev, EV_ABS, ABS_X, x); in input_mt_report_pointer_emulation() [all …]
|
| H A D | evdev.c | 54 struct input_event buffer[] __counted_by(bufsize); 109 struct input_event *ev; in __evdev_flush_queue() 150 struct input_event ev; in __evdev_queue_syn_dropped() 218 const struct input_event *event) in __pass_event() 224 struct input_event ev; in __pass_event() 252 struct input_event event; in evdev_pass_values() 503 struct input_event event; in evdev_write() 544 struct input_event *event) in evdev_fetch_next_event() 566 struct input_event event; in evdev_read()
|
| /linux/include/linux/ |
| H A D | input.h | 440 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); 445 input_event(dev, EV_KEY, code, !!value); in input_report_key() 450 input_event(dev, EV_REL, code, value); in input_report_rel() 455 input_event(dev, EV_ABS, code, value); in input_report_abs() 460 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status() 465 input_event(dev, EV_SW, code, !!value); in input_report_switch() 470 input_event(dev, EV_SYN, SYN_REPORT, 0); in input_sync() 475 input_event(dev, EV_SYN, SYN_MT_REPORT, 0); in input_mt_sync()
|
| /linux/drivers/hid/ |
| H A D | hid-a4tech.c | 91 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event() 93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : in a4_event() 105 input_event(input, usage->type, REL_HWHEEL, value); in a4_event() 106 input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120); in a4_event()
|
| H A D | hid-ntrig.c | 630 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event() 631 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event() 723 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event() 724 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event() 728 input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); in ntrig_event() 729 input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y); in ntrig_event() 736 input_event(input, EV_ABS, in ntrig_event() 738 input_event(input, EV_ABS, in ntrig_event() 740 input_event(input, EV_ABS, in ntrig_event() 743 input_event(input, EV_ABS, in ntrig_event() [all …]
|
| H A D | hid-gyration.c | 64 input_event(input, usage->type, usage->code, 1); in gyration_event() 66 input_event(input, usage->type, usage->code, 0); in gyration_event()
|
| H A D | hid-zydacron.c | 123 input_event(zc->input_ep81, EV_KEY, key, 0); in zc_raw_event() 152 input_event(zc->input_ep81, EV_KEY, key, 1); in zc_raw_event()
|
| H A D | hid-xinmo.c | 34 input_event(field->hidinput->input, usage->type, in xinmo_event()
|
| H A D | hid-multitouch.c | 1079 input_event(input, EV_KEY, BTN_LEFT, app->left_button_state); in mt_sync_frame() 1082 input_event(input, EV_MSC, MSC_TIMESTAMP, app->timestamp); in mt_sync_frame() 1258 input_event(input, EV_ABS, ABS_MT_POSITION_X, x); in mt_process_slot() 1259 input_event(input, EV_ABS, ABS_MT_POSITION_Y, y); in mt_process_slot() 1260 input_event(input, EV_ABS, ABS_MT_TOOL_X, cx); in mt_process_slot() 1261 input_event(input, EV_ABS, ABS_MT_TOOL_Y, cy); in mt_process_slot() 1262 input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state); in mt_process_slot() 1263 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); in mt_process_slot() 1264 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); in mt_process_slot() 1265 input_event(inpu in mt_process_slot() [all...] |
| H A D | hid-ezkey.c | 57 input_event(input, usage->type, REL_WHEEL, -value); in ez_event()
|
| H A D | hid-icade.c | 182 input_event(field->hidinput->input, usage->type, in icade_event()
|
| /linux/drivers/input/misc/ |
| H A D | cobalt_btns.c | 46 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 52 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
|
| H A D | sgi_btns.c | 63 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons() 69 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
|
| H A D | nxp-bbnsm-pwrkey.c | 59 input_event(input, EV_KEY, bbnsm->keycode, state); in bbnsm_pwrkey_check_for_events() 89 input_event(input, EV_KEY, bbnsm->keycode, 1); in bbnsm_pwrkey_interrupt()
|
| H A D | uinput.c | 67 struct input_event buff[UINPUT_BUFFER_SIZE]; 85 udev->buff[udev->head] = (struct input_event) { in uinput_dev_event() 639 struct input_event ev; in uinput_inject_events() 660 input_event(udev->dev, ev.type, ev.code, ev.value); in uinput_inject_events() 691 struct input_event *event) in uinput_fetch_next_event() 711 struct input_event event; in uinput_events_to_user()
|
| /linux/Documentation/input/ |
| H A 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 {
|
| /linux/drivers/input/keyboard/ |
| H A D | maple_keyb.c | 91 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 101 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 113 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd()
|
| H A D | imx-sm-bbm-key.c | 50 input_event(input, EV_KEY, bbnsm->keycode, state); in scmi_imx_bbm_pwrkey_check_for_events() 73 input_event(input, EV_KEY, bbnsm->keycode, 1); in scmi_imx_bbm_pwrkey_event()
|
| H A D | charlieplex_keypad.c | 42 input_event(input, EV_MSC, MSC_SCAN, keypad->current_code); in charlieplex_keypad_report_key() 48 input_event(input, EV_MSC, MSC_SCAN, keypad->debounce_code); in charlieplex_keypad_report_key()
|
| H A D | sh_keysc.c | 146 input_event(priv->input, EV_KEY, k, 1); in sh_keysc_isr() 151 input_event(priv->input, EV_KEY, k, 0); in sh_keysc_isr()
|
| /linux/drivers/input/touchscreen/ |
| H A D | max11801_ts.c | 136 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); in max11801_ts_interrupt() 141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0); in max11801_ts_interrupt()
|
| H A D | zet6223.c | 84 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, in zet6223_irq() 86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, in zet6223_irq()
|
| H A D | penmount.c | 75 input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); in pm_mtevent() 76 input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); in pm_mtevent()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_lirc_mode2_user.c | 115 struct input_event event; in main()
|