Home
last modified time | relevance | path

Searched refs:evdev (Results 1 – 25 of 125) sorted by relevance

12345

/third_party/eudev/hwdb/
D60-evdev.hwdb4 # 60-evdev.rules
6 # Note: The format of the "evdev:" prefix match key is a
12 # evdev:<modalias>
13 # evdev:name:<device name>:dmi:<dmi string>
16 # /etc/udev/hwdb.d/61-evdev-local.hwdb
47 evdev:input:b0003v08CAp0010*
56 evdev:input:b0003v05ACp021B*
58 evdev:input:b0003v05ACp0229*
59 evdev:input:b0003v05ACp022A*
64 evdev:input:b0003v05ACp0236*
[all …]
D60-keyboard.hwdb14 # 60-evdev.rules
16 # Note: The format of the "evdev:" prefix match key is a
23 # evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
32 # evdev:atkbd:dmi:bvn*:bvr*:bd*:svn<vendor>:pn<product>:pvr*
37 # evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
43 # evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
100 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*
101 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr*
102 evdev:atkbd:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:pvr*
130 evdev:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:pvr*
[all …]
D70-pointingstick.hwdb8 # 60-evdev.rules
10 # Note: The format of the "evdev:" prefix match key is a contract between the
16 # evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
25 # evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
87 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
91 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE5570*:pvr*
95 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:pvr*
99 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
103 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE7470*:pvr*
111 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220:*
[all …]
/third_party/libinput/src/
Devdev.c308 int evdev; in evdev_device_led_update() member
323 ev[i].code = map[i].evdev; in evdev_device_led_update()
416 bustype = libevdev_get_id_bustype(device->evdev); in evdev_tag_external_mouse()
429 if (!libevdev_has_property(device->evdev, in evdev_tag_trackpoint()
478 if (!libevdev_has_event_type(device->evdev, EV_KEY)) in evdev_tag_keyboard()
482 if (!libevdev_has_event_code(device->evdev, in evdev_tag_keyboard()
564 struct evdev_device *evdev = evdev_device(device); in evdev_sendevents_set_mode() local
565 struct evdev_dispatch *dispatch = evdev->dispatch; in evdev_sendevents_set_mode()
572 evdev_device_resume(evdev); in evdev_sendevents_set_mode()
575 evdev_device_suspend(evdev); in evdev_sendevents_set_mode()
[all …]
Devdev-tablet-pad.c185 absinfo = libevdev_get_abs_info(device->evdev, code); in pad_handle_ring()
204 absinfo = libevdev_get_abs_info(device->evdev, code); in pad_handle_strip()
263 libevdev_get_event_value(device->evdev, EV_ABS, ABS_MISC) == 0) in pad_check_notify_axes()
603 if (libevdev_has_event_code(device->evdev, EV_KEY, code)) in pad_init_buttons_from_kernel()
608 if (libevdev_has_event_code(device->evdev, EV_KEY, code)) in pad_init_buttons_from_kernel()
613 if (libevdev_has_event_code(device->evdev, EV_KEY, code)) in pad_init_buttons_from_kernel()
618 if (libevdev_has_event_code(device->evdev, EV_KEY, code)) in pad_init_buttons_from_kernel()
636 if (libevdev_get_id_vendor(device->evdev) != VENDOR_ID_WACOM) in pad_init_keys()
640 if (libevdev_has_event_code(device->evdev, EV_KEY, *code)) in pad_init_keys()
695 struct evdev_device *evdev = evdev_device(device); in pad_sendevents_set_mode() local
[all …]
Devdev-totem.c280 slot->axes.point.x = libevdev_get_slot_value(device->evdev, in totem_slot_fetch_axes()
283 slot->axes.point.y = libevdev_get_slot_value(device->evdev, in totem_slot_fetch_axes()
290 int angle = libevdev_get_slot_value(device->evdev, in totem_slot_fetch_axes()
304 major = libevdev_get_slot_value(device->evdev, in totem_slot_fetch_axes()
307 minor = libevdev_get_slot_value(device->evdev, in totem_slot_fetch_axes()
310 rmajor = libevdev_get_abs_resolution(device->evdev, ABS_MT_TOUCH_MAJOR); in totem_slot_fetch_axes()
311 rminor = libevdev_get_abs_resolution(device->evdev, ABS_MT_TOUCH_MINOR); in totem_slot_fetch_axes()
358 slot->axes.point.x = libevdev_get_slot_value(device->evdev, in slot_axes_initialize()
361 slot->axes.point.y = libevdev_get_slot_value(device->evdev, in slot_axes_initialize()
671 tracking_id = libevdev_get_slot_value(device->evdev, in totem_interface_initial_proximity()
[all …]
Devdev-mt-touchpad.c2098 struct libevdev *evdev = device->evdev; in tp_sync_touch() local
2101 if (!libevdev_fetch_slot_value(evdev, in tp_sync_touch()
2105 t->point.x = libevdev_get_event_value(evdev, EV_ABS, ABS_X); in tp_sync_touch()
2106 if (!libevdev_fetch_slot_value(evdev, in tp_sync_touch()
2110 t->point.y = libevdev_get_event_value(evdev, EV_ABS, ABS_Y); in tp_sync_touch()
2112 if (!libevdev_fetch_slot_value(evdev, in tp_sync_touch()
2116 t->pressure = libevdev_get_event_value(evdev, in tp_sync_touch()
2120 libevdev_fetch_slot_value(evdev, in tp_sync_touch()
2124 libevdev_fetch_slot_value(evdev, in tp_sync_touch()
2129 if (libevdev_fetch_slot_value(evdev, in tp_sync_touch()
[all …]
Devdev-tablet.c143 struct libevdev *evdev = tablet->device->evdev; in tablet_device_has_axis() local
148 has_axis = (libevdev_has_event_code(evdev, in tablet_device_has_axis()
151 libevdev_has_event_code(evdev, in tablet_device_has_axis()
154 libevdev_has_event_code(evdev, in tablet_device_has_axis()
158 has_axis |= libevdev_has_event_code(evdev, in tablet_device_has_axis()
162 has_axis = libevdev_has_event_code(evdev, in tablet_device_has_axis()
167 has_axis = libevdev_has_event_code(evdev, in tablet_device_has_axis()
188 fuzz = libevdev_get_abs_fuzz(device->evdev, e->code); in tablet_filter_axis_fuzz()
470 absinfo = libevdev_get_abs_info(device->evdev, ABS_X); in tablet_update_xy()
479 absinfo = libevdev_get_abs_info(device->evdev, ABS_Y); in tablet_update_xy()
[all …]
Devdev-mt-touchpad-buttons.c719 struct evdev_device *evdev = evdev_device(device); in tp_button_config_click_get_methods() local
720 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; in tp_button_config_click_get_methods()
729 if (evdev->model_flags & EVDEV_MODEL_APPLE_TOUCHPAD_ONEBUTTON) in tp_button_config_click_get_methods()
764 struct evdev_device *evdev = evdev_device(device); in tp_button_config_click_set_method() local
765 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; in tp_button_config_click_set_method()
776 struct evdev_device *evdev = evdev_device(device); in tp_button_config_click_get_method() local
777 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; in tp_button_config_click_get_method()
806 struct evdev_device *evdev = evdev_device(device); in tp_button_config_click_get_default_method() local
807 struct tp_dispatch *tp = (struct tp_dispatch*)evdev->dispatch; in tp_button_config_click_get_default_method()
841 struct evdev_device *evdev = evdev_device(device); in tp_clickpad_middlebutton_set() local
[all …]
/third_party/libinput/
DBUILD.gn47 "src/evdev.c",
48 "src/evdev-debounce.c",
49 "src/evdev-fallback.c",
50 "src/evdev-totem.c",
51 "src/evdev-middle-button.c",
52 "src/evdev-mt-touchpad.c",
53 "src/evdev-mt-touchpad-tap.c",
54 "src/evdev-mt-touchpad-thumb.c",
55 "src/evdev-mt-touchpad-buttons.c",
56 "src/evdev-mt-touchpad-edge-scroll.c",
[all …]
/third_party/libinput/udev/
Dlibinput-fuzz-to-zero.c39 struct libevdev *evdev = NULL; in reset_absfuzz_to_zero() local
56 rc = libevdev_new_from_fd(fd, &evdev); in reset_absfuzz_to_zero()
60 if (!libevdev_has_event_type(evdev, EV_ABS)) in reset_absfuzz_to_zero()
67 fuzz = libevdev_get_abs_fuzz(evdev, *code); in reset_absfuzz_to_zero()
71 abs = *libevdev_get_abs_info(evdev, *code); in reset_absfuzz_to_zero()
73 libevdev_kernel_set_abs_info(evdev, *code, &abs); in reset_absfuzz_to_zero()
78 libevdev_free(evdev); in reset_absfuzz_to_zero()
Dlibinput-fuzz-extract.c46 struct libevdev *evdev = NULL; in handle_absfuzz() local
63 rc = libevdev_new_from_fd(fd, &evdev); in handle_absfuzz()
67 if (!libevdev_has_event_type(evdev, EV_ABS)) in handle_absfuzz()
73 fuzz = libevdev_get_abs_fuzz(evdev, *code); in handle_absfuzz()
80 libevdev_free(evdev); in handle_absfuzz()
/third_party/XKeyboardConfig/rules/
Devdev.m_k.part2 applealu_jis = evdev+macintosh(jisevdev)
3 $jollamodels = evdev+jolla(jolla)
4 olpc = evdev+olpc(olpc)
5 olpcm = evdev+olpc(olpcm)
6 * = evdev
DMakefile.am98 evdev.lists.base.part \
113 evdev.ml_s1.part \
125 evdev.m_k.part \
126 evdev.m_s.part
128 rules_files = base evdev xfree98
130 lst_files = base.lst evdev.lst
141 evdev_parts=$(subst RULESET,evdev,$(parts))
142 evdev: $(evdev_sources) merge.py target
149 xml_DATA = base.xml evdev.xml base.extras.xml evdev.extras.xml
151 $(srcdir)/evdev.xml: base.xml
[all …]
Devdev.m_s.part2 $evdevkbds = +inet(evdev)+inet(%m)
3 chromebook = +inet(evdev)+inet(chromebook)
4 applealu_jis = +inet(evdev)+macintosh_vndr/jp(alujiskeys)
5 * = +inet(evdev)
/third_party/libinput/tools/
Dlibinput-replay64 evdev = fetch(device, 'evdev')
67 d.name = fetch(evdev, 'name')
69 ids = fetch(evdev, 'id')
74 codes = fetch(evdev, 'codes')
79 values = fetch(evdev, 'absinfo')[code]
93 properties = fetch(evdev, 'properties')
127 evdev = fetch(event, 'evdev')
131 (sec, usec, evtype, evcode, value) = evdev[0]
138 …= [libevdev.InputEvent(libevdev.evbit(e[2], e[3]), value=e[4], sec=e[0], usec=e[1]) for e in evdev]
150 evdev = fetch(events[0], 'evdev')
[all …]
Dlibinput-debug-tablet.c51 struct libevdev *evdev; member
139 normalize(struct libevdev *evdev, int code, int value) in normalize() argument
143 if (!evdev) in normalize()
146 abs = libevdev_get_abs_info(evdev, code); in normalize()
227 print_bar("ABS_X:", ctx->abs.x, normalize(ctx->evdev, ABS_X, ctx->abs.x)); in print_state()
228 print_bar("ABS_Y:", ctx->abs.y, normalize(ctx->evdev, ABS_Y, ctx->abs.y)); in print_state()
229 print_bar("ABS_Z:", ctx->abs.z, normalize(ctx->evdev, ABS_Z, ctx->abs.z)); in print_state()
230 print_bar("ABS_TILT_X:", ctx->abs.tilt_x, normalize(ctx->evdev, ABS_TILT_X, ctx->abs.tilt_x)); in print_state()
231 print_bar("ABS_TILT_Y:", ctx->abs.tilt_y, normalize(ctx->evdev, ABS_TILT_Y, ctx->abs.tilt_y)); in print_state()
232 …print_bar("ABS_DISTANCE:", ctx->abs.distance, normalize(ctx->evdev, ABS_DISTANCE, ctx->abs.distanc… in print_state()
[all …]
Dlibinput-debug-gui.c74 struct libevdev *evdev; member
171 } evdev; member
201 if (w->evdev.rel_x) { in draw_evdev_rel()
202 int dir = w->evdev.rel_x > 0 ? 1 : -1; in draw_evdev_rel()
203 for (int i = 0; i < abs(w->evdev.rel_x); i++) { in draw_evdev_rel()
214 if (w->evdev.rel_y) { in draw_evdev_rel()
215 int dir = w->evdev.rel_y > 0 ? 1 : -1; in draw_evdev_rel()
216 for (int i = 0; i < abs(w->evdev.rel_y); i++) { in draw_evdev_rel()
249 if (w->evdev.device == 0) in draw_evdev_abs()
254 if (w->evdev.device != w->evdev.last_device) { in draw_evdev_abs()
[all …]
Dlibinput-measure-touchpad-size.py50 def __init__(self, evdev): argument
51 x = evdev.absinfo[libevdev.EV_ABS.ABS_X]
52 y = evdev.absinfo[libevdev.EV_ABS.ABS_Y]
241 evdev = libevdev.Device(fd)
242 touchpad = Touchpad(evdev)
256 for event in evdev.events():
279 xorig = evdev.absinfo[libevdev.EV_ABS.ABS_X]
280 yorig = evdev.absinfo[libevdev.EV_ABS.ABS_Y]
296 use_dmi = evdev.id['bustype'] not in [0x03, 0x05] # USB, Bluetooth
306 print('evdev:name:{}:{}*'.format(evdev.name, dmi_modalias_match(modalias)))
[all …]
Dlibinput-record-verify-yaml.py116 evdev = d['evdev']
118 self.assertIn(s, evdev)
123 evdev = d['evdev']
124 name = evdev['name']
131 evdev = d['evdev']
132 id = evdev['id']
141 evdev = d['evdev']
142 properties = evdev['properties']
201 evdev = e['evdev']
205 for ev in evdev:
[all …]
/third_party/libinput/doc/user/
Darchitecture.rst12 for almost all API calls. General device handling is in ``evdev.c`` with the
13 device-type-specific implementations in ``evdev-<type>.c``. It is not
93 libinput only supports evdev devices, all the device initialization is done
94 in ``evdev.c``. Much of the libinput public API is also a thin wrapper around
95 the matching implementation in the evdev device.
119 evdev [label="evdev_device_create()"]
126 context->evdev;
138 ``evdev.c`` as well. Common functionality shared across multiple device types
165 evdev [label="evdev_device_create()"]
167 fallback [label="evdev-fallback.c"]
[all …]
/third_party/eudev/rules/
D60-evdev.rules7 IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", \
12 IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \
16 KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:phys:$attr{phys}:ev:$attr{capabili…
20 KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:$attr{[dmi/id]modalias}'", \
/third_party/libinput/test/
Dtest-switch.c69 if (!libevdev_has_event_code(dev->evdev, EV_SW, SW_LID)) in START_TEST()
95 if (!libevdev_has_event_code(dev->evdev, EV_SW, SW_TABLET_MODE)) in START_TEST()
718 struct libevdev *evdev; in START_TEST() local
739 ck_assert_int_eq(libevdev_new_from_fd(fd, &evdev), 0); in START_TEST()
740 ck_assert_int_eq(libevdev_get_event_value(evdev, EV_SW, SW_LID), 1); in START_TEST()
749 rc = libevdev_next_event(evdev, LIBEVDEV_READ_FLAG_NORMAL, &event); in START_TEST()
754 rc = libevdev_next_event(evdev, LIBEVDEV_READ_FLAG_NORMAL, &event); in START_TEST()
759 rc = libevdev_next_event(evdev, LIBEVDEV_READ_FLAG_NORMAL, &event); in START_TEST()
764 libevdev_free(evdev); in START_TEST()
773 struct libevdev *evdev = sw->evdev; in START_TEST() local
[all …]
Dtest-pad.c74 if (!libevdev_has_event_code(dev->evdev, EV_KEY, code)) in START_TEST()
139 libevdev_get_id_vendor(dev->evdev), in START_TEST()
140 libevdev_get_id_product(dev->evdev), in START_TEST()
168 if (libevdev_has_event_code(dev->evdev, EV_KEY, code)) in START_TEST()
190 if (!libevdev_has_event_code(dev->evdev, EV_KEY, BTN_0)) in START_TEST()
199 ck_assert(!libevdev_has_event_code(dev->evdev, in START_TEST()
204 if (!libevdev_has_event_code(dev->evdev, EV_KEY, code)) in START_TEST()
248 if (!libevdev_has_event_code(dev->evdev, EV_KEY, BTN_LEFT)) in START_TEST()
254 if (!libevdev_has_event_code(dev->evdev, EV_KEY, code)) in START_TEST()
299 libevdev_get_id_vendor(dev->evdev), in START_TEST()
[all …]
/third_party/XKeyboardConfig/man/
DMakefile.am11 xkeyboard-config.man: $(top_srcdir)/rules/evdev.xml $(srcdir)/man.xsl
12 $(XSLTPROC) -nonet $(srcdir)/man.xsl $(top_srcdir)/rules/evdev.xml > $@

12345