Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/drivers/input/
H 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()
H A Dinput-mt.c148 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state()
156 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state()
157 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state()
176 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count()
177 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count()
178 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count()
179 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count()
180 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count()
221 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation()
244 input_event(dev, EV_ABS, ABS_X, x); in input_mt_report_pointer_emulation()
[all …]
H 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);
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-steam.c971 input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); in steam_do_input_event()
972 input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); in steam_do_input_event()
973 input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); in steam_do_input_event()
974 input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); in steam_do_input_event()
975 input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); in steam_do_input_event()
976 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event()
977 input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); in steam_do_input_event()
978 input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); in steam_do_input_event()
979 input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); in steam_do_input_event()
980 input_event(input, EV_KEY, BTN_MODE, !!(b9 & BIT(5))); in steam_do_input_event()
[all …]
H 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()
H 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()
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 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()
H A Dhid-apple.c202 input_event(input, usage->type, KEY_FN, value); in hidinput_apple_event()
243 input_event(input, usage->type, code, value); in hidinput_apple_event()
261 input_event(input, usage->type, trans->to, in hidinput_apple_event()
273 input_event(input, usage->type, trans->to, value); in hidinput_apple_event()
282 input_event(input, usage->type, trans->to, value); in hidinput_apple_event()
290 input_event(input, usage->type, trans->to, value); in hidinput_apple_event()
309 input_event(field->hidinput->input, usage->type, usage->code, in apple_event()
H 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()
/OK3568_Linux_fs/buildroot/package/evemu/
H A D0002-evemu-Update-struct-input_event.patch4 Subject: [PATCH] evemu: Update struct input_event
6 The struct input_event is not y2038 safe.
23 @@ -771,7 +771,7 @@ int evemu_write_event(FILE *fp, const struct input_event *ev)
55 @@ -839,8 +845,8 @@ int evemu_read_event(FILE *fp, struct input_event *ev)
68 int evemu_create_event(struct input_event *ev, int type, int code, int value)
78 int evemu_read_event_realtime(FILE *fp, struct input_event *ev,
85 @@ -882,14 +889,18 @@ int evemu_read_event_realtime(FILE *fp, struct input_event *ev,
H A D0003-src-evemu.c-fix-build-with-kernels-4.16.patch6 Commit 30973c0b forgot to update all occurences of input_event, this
10 evemu.c:753:23: error: 'const struct input_event' has no member named 'time'; did you mean 'type'?
38 static int write_event_desc(FILE *fp, const struct input_event *ev)
41 @@ -750,7 +745,7 @@ static int write_event_desc(FILE *fp, const struct input_event *ev)
/OK3568_Linux_fs/kernel/include/linux/
H A Dinput.h422 void input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);
427 input_event(dev, EV_KEY, code, !!value); in input_report_key()
432 input_event(dev, EV_REL, code, value); in input_report_rel()
437 input_event(dev, EV_ABS, code, value); in input_report_abs()
442 input_event(dev, EV_FF_STATUS, code, value); in input_report_ff_status()
447 input_event(dev, EV_SW, code, !!value); in input_report_switch()
452 input_event(dev, EV_SYN, SYN_REPORT, 0); in input_sync()
457 input_event(dev, EV_SYN, SYN_MT_REPORT, 0); in input_mt_sync()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/utouch/utouch-evemu/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch6 time element is deprecated on new input_event structure in kernel's
39 int evemu_write_event(FILE *fp, const struct input_event *ev)
47 @@ -391,8 +391,8 @@ int evemu_read_event(FILE *fp, struct input_event *ev)
58 @@ -410,13 +411,16 @@ int evemu_read_event_realtime(FILE *fp, struct input_event *ev,
/OK3568_Linux_fs/buildroot/package/x11vnc/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch6 time element is deprecated on new input_event structure in kernel's
37 struct input_event ev;
56 struct input_event ev;
75 struct input_event ev;
94 struct input_event ev;
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H 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()
/OK3568_Linux_fs/buildroot/package/xen/
H A D0002-Fix-build-with-64-bits-time_t.patch6 time element is deprecated on new input_event structure in kernel's
12 hw/input/virtio-input-host.c:198:28: error: 'struct input_event' has no member named 'time'
59 struct input_event evdev;
81 struct input_event evdev;
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H 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()
/OK3568_Linux_fs/app/lvgl_demo/hal/
H A Dkey.c69 struct input_event in; in key_read()
71 while(read(key_fd, &in, sizeof(struct input_event)) > 0) { in key_read()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/
H A Dminui.h63 struct input_event;
72 int ev_get(struct input_event *ev, unsigned dont_wait);
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/adc/
H A Dadcinterface.cpp56 input_event e; in open()
60 m_file->read(data.buf, sizeof(input_event)); in open()
/OK3568_Linux_fs/external/recovery/minui/
H A Dminui.h71 struct input_event;
88 int ev_get_input(int fd, uint32_t epevents, struct input_event *ev);
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H 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()
/OK3568_Linux_fs/external/rk_pcba_test/
H A Decho_rotary_test.c65 static int rotary_event_read(int fd, struct input_event *buf) in rotary_event_read()
103 struct input_event rotary_event; in main()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/utouch/utouch-frame/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch6 time element is deprecated on new input_event structure in kernel's
34 static utouch_frame_time_t get_evtime_ms(const struct input_event *syn)
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/
H 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()

1234567