Home
last modified time | relevance | path

Searched refs:input_event (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.3-rc2/drivers/input/
A Dinput-compat.c15 struct input_event *event) in input_event_from_user()
31 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user()
39 const struct input_event *event) in input_event_to_user()
55 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user()
100 struct input_event *event) in input_event_from_user()
102 if (copy_from_user(event, buffer, sizeof(struct input_event))) in input_event_from_user()
109 const struct input_event *event) in input_event_to_user()
111 if (copy_to_user(buffer, event, sizeof(struct input_event))) in input_event_to_user()
A Dinput-compat.h57 sizeof(struct input_event_compat) : sizeof(struct input_event); in input_event_size()
64 return sizeof(struct input_event); in input_event_size()
70 struct input_event *event);
73 const struct input_event *event);
A Dinput-mt.c149 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()
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()
222 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation()
245 input_event(dev, EV_ABS, ABS_X, x); in input_mt_report_pointer_emulation()
246 input_event(dev, EV_ABS, ABS_Y, y); in input_mt_report_pointer_emulation()
250 input_event(dev, EV_ABS, ABS_PRESSURE, p); in input_mt_report_pointer_emulation()
[all …]
A Devdev.c53 struct input_event buffer[];
106 struct input_event *ev; in __evdev_flush_queue()
147 struct input_event ev; in __evdev_queue_syn_dropped()
215 const struct input_event *event) in __pass_event()
227 client->buffer[client->tail] = (struct input_event) { in __pass_event()
249 struct input_event event; in evdev_pass_values()
507 struct input_event event; in evdev_write()
541 struct input_event *event) in evdev_fetch_next_event()
563 struct input_event event; in evdev_read()
/linux-6.3-rc2/drivers/hid/
A Dhid-steam.c1123 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_input_event()
1124 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); in steam_do_input_event()
1125 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_input_event()
1126 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event()
1127 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_input_event()
1128 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); in steam_do_input_event()
1286 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_deck_input_event()
1288 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_deck_input_event()
1289 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_deck_input_event()
1290 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_deck_input_event()
[all …]
A Dhid-a4tech.c91 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()
A Dhid-ntrig.c630 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()
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()
745 input_event(input, EV_ABS, in ntrig_event()
[all …]
A Dhid-gyration.c64 input_event(input, usage->type, usage->code, 1); in gyration_event()
66 input_event(input, usage->type, usage->code, 0); in gyration_event()
A Dhid-ite.c83 input_event(input, EV_KEY, KEY_RFKILL, 1); in ite_event()
85 input_event(input, EV_KEY, KEY_RFKILL, 0); in ite_event()
A Dhid-zydacron.c123 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()
A Dhid-input.c1462 input_event(input, EV_REL, code, lo_res); in hidinput_handle_scroll()
1463 input_event(input, EV_REL, usage->code, hi_res); in hidinput_handle_scroll()
1477 input_event(input, EV_KEY, BTN_TOUCH, 0); in hid_report_release_tool()
1478 input_event(input, EV_KEY, tool, 0); in hid_report_release_tool()
1479 input_event(input, EV_SYN, SYN_REPORT, 0); in hid_report_release_tool()
1490 input_event(input, EV_KEY, new_tool, 1); in hid_report_set_tool()
1621 input_event(input, EV_KEY, BTN_TOUCH, 1); in hidinput_hid_event()
1658 input_event(input, EV_KEY, direction, 1); in hidinput_hid_event()
1660 input_event(input, EV_KEY, direction, 0); in hidinput_hid_event()
1691 input_event(input, EV_MSC, MSC_SCAN, usage->hid); in hidinput_hid_event()
[all …]
A Dhid-xinmo.c34 input_event(field->hidinput->input, usage->type, in xinmo_event()
A Dhid-multitouch.c960 input_event(input, EV_KEY, BTN_LEFT, app->left_button_state); in mt_sync_frame()
963 input_event(input, EV_MSC, MSC_TIMESTAMP, app->timestamp); in mt_sync_frame()
1140 input_event(input, EV_ABS, ABS_MT_POSITION_X, x); in mt_process_slot()
1141 input_event(input, EV_ABS, ABS_MT_POSITION_Y, y); in mt_process_slot()
1142 input_event(input, EV_ABS, ABS_MT_TOOL_X, cx); in mt_process_slot()
1143 input_event(input, EV_ABS, ABS_MT_TOOL_Y, cy); in mt_process_slot()
1145 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); in mt_process_slot()
1146 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); in mt_process_slot()
1147 input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in mt_process_slot()
1148 input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in mt_process_slot()
[all …]
/linux-6.3-rc2/include/linux/
A Dinput.h420 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
425 input_event(dev, EV_KEY, code, !!value); in input_report_key()
430 input_event(dev, EV_REL, code, value); in input_report_rel()
435 input_event(dev, EV_ABS, code, value); in input_report_abs()
440 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status()
445 input_event(dev, EV_SW, code, !!value); in input_report_switch()
450 input_event(dev, EV_SYN, SYN_REPORT, 0); in input_sync()
455 input_event(dev, EV_SYN, SYN_MT_REPORT, 0); in input_mt_sync()
/linux-6.3-rc2/drivers/input/rmi4/
A Drmi_2d_sensor.c98 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x); in rmi_2d_sensor_abs_report()
99 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y); in rmi_2d_sensor_abs_report()
100 input_event(sensor->input, EV_ABS, ABS_MT_ORIENTATION, wide); in rmi_2d_sensor_abs_report()
101 input_event(sensor->input, EV_ABS, ABS_MT_PRESSURE, obj->z); in rmi_2d_sensor_abs_report()
102 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in rmi_2d_sensor_abs_report()
103 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in rmi_2d_sensor_abs_report()
/linux-6.3-rc2/drivers/input/keyboard/
A Dgpio_keys_polled.c53 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
58 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
62 input_event(input, type, button->code, state); in gpio_keys_button_event()
111 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll()
116 input_event(input, EV_ABS, i, 0); in gpio_keys_polled_poll()
A Dmaple_keyb.c91 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()
/linux-6.3-rc2/drivers/platform/x86/
A Dpeaq-wmi.c60 input_event(input_dev, EV_KEY, KEY_SOUND, 1); in peaq_wmi_poll()
62 input_event(input_dev, EV_KEY, KEY_SOUND, 0); in peaq_wmi_poll()
/linux-6.3-rc2/drivers/input/misc/
A Dsgi_btns.c63 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
69 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
A Dcobalt_btns.c46 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
52 input_event(input, EV_MSC, MSC_SCAN, i); in handle_buttons()
A Duinput.c63 struct input_event buff[UINPUT_BUFFER_SIZE];
79 udev->buff[udev->head] = (struct input_event) { in uinput_dev_event()
575 struct input_event ev; in uinput_inject_events()
591 input_event(udev->dev, ev.type, ev.code, ev.value); in uinput_inject_events()
622 struct input_event *event) in uinput_fetch_next_event()
642 struct input_event event; in uinput_events_to_user()
/linux-6.3-rc2/drivers/media/usb/dvb-usb/
A Ddvb-usb-remote.c135 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-6.3-rc2/drivers/input/touchscreen/
A Dmax11801_ts.c136 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()
A Dzet6223.c86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, in zet6223_irq()
88 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, in zet6223_irq()
/linux-6.3-rc2/Documentation/input/
A Dff.rst162 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 {

Completed in 49 milliseconds

12345