Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/input/
Devdev.c28 struct evdev { struct
47 struct evdev *evdev; argument
145 ktime_t *ev_time = input_get_timestamp(client->evdev->handle.dev); in __evdev_queue_syn_dropped()
294 struct evdev *evdev = handle->private; in evdev_events() local
300 client = rcu_dereference(evdev->grab); in evdev_events()
305 list_for_each_entry_rcu(client, &evdev->client_list, node) in evdev_events()
331 struct evdev *evdev = container_of(dev, struct evdev, dev); in evdev_free() local
333 input_put_device(evdev->handle.dev); in evdev_free()
334 kfree(evdev); in evdev_free()
341 static int evdev_grab(struct evdev *evdev, struct evdev_client *client) in evdev_grab() argument
[all …]
DMakefile20 obj-$(CONFIG_INPUT_EVDEV) += evdev.o
DKconfig153 module will be called evdev.
/Linux-v6.6/tools/testing/selftests/hid/tests/
Dtest_apple_keyboard.py167 evdev = uhdev.get_evdev()
176 assert evdev.value[libevdev.EV_KEY.KEY_ALL_APPLICATIONS] == 1
177 assert evdev.value[libevdev.EV_KEY.KEY_FN] == 0
185 assert evdev.value[libevdev.EV_KEY.KEY_ALL_APPLICATIONS] == 0
190 evdev = uhdev.get_evdev()
201 assert evdev.value[libevdev.EV_KEY.KEY_F4] == 1
209 assert evdev.value[libevdev.EV_KEY.KEY_F4] == 0
210 assert evdev.value[libevdev.EV_KEY.KEY_FN] == 1
222 evdev = uhdev.get_evdev()
233 assert evdev.value[libevdev.EV_KEY.KEY_F4] == 1
[all …]
Dtest_sony.py41 evdev = uhdev.get_evdev("Accelerometer")
49 value = evdev.value[libevdev.EV_ABS.ABS_X]
60 value = evdev.value[libevdev.EV_ABS.ABS_Y]
69 value = evdev.value[libevdev.EV_ABS.ABS_Z]
74 evdev = uhdev.get_evdev("Accelerometer")
82 value = evdev.value[libevdev.EV_ABS.ABS_RX]
93 value = evdev.value[libevdev.EV_ABS.ABS_RY]
102 value = evdev.value[libevdev.EV_ABS.ABS_RZ]
141 evdev = uhdev.get_evdev("Touch Pad")
149 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
[all …]
Dtest_multitouch.py503 def match_evdev_rule(self, application, evdev): argument
508 absinfo = evdev.absinfo[libevdev.EV_ABS.ABS_MT_POSITION_X]
540 evdev = uhdev.get_evdev()
547 assert evdev.num_slots == uhdev.max_contacts
550 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
551 assert evdev.slots[1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
553 assert evdev.slots[2][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
588 evdev = uhdev.get_evdev()
598 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
599 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50
[all …]
Dtest_tablet.py37 def from_evdev(cls, evdev) -> "PenState": argument
38 touch = bool(evdev.value[libevdev.EV_KEY.BTN_TOUCH])
41 evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
42 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_PEN]
46 evdev.value[libevdev.EV_KEY.BTN_TOOL_PEN]
47 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
51 evdev.value[libevdev.EV_KEY.BTN_TOOL_PEN]
52 or evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER]
219 def __assert_axis(self, evdev, axis, value): argument
222 and evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] is None
[all …]
Dtest_gamepad.py33 evdev = uhdev.get_evdev()
45 assert evdev.value[key] == 1
53 assert evdev.value[key] == 0
65 evdev = uhdev.get_evdev()
83 assert evdev.value[key1] == 1
84 assert evdev.value[key2] == 1
92 assert evdev.value[key1] == 0
93 assert evdev.value[key2] == 1
101 assert evdev.value[key1] == 0
102 assert evdev.value[key2] == 0
[all …]
Dtest_keyboard.py266 evdev = uhdev.get_evdev()
275 assert evdev.value[libevdev.EV_KEY.KEY_A] == 1
283 assert evdev.value[libevdev.EV_KEY.KEY_A] == 0
287 evdev = uhdev.get_evdev()
297 assert evdev.value[libevdev.EV_KEY.KEY_A] == 1
306 assert evdev.value[libevdev.EV_KEY.KEY_A] == 0
307 assert evdev.value[libevdev.EV_KEY.KEY_Q] == 0
315 assert evdev.value[libevdev.EV_KEY.KEY_C] == 1
324 assert evdev.value[libevdev.EV_KEY.KEY_C] == 1
325 assert evdev.value[libevdev.EV_KEY.KEY_SPACE] == 1
[all …]
Dtest_mouse.py544 evdev = uhdev.get_evdev()
552 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1
559 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 0
566 assert evdev.value[libevdev.EV_KEY.BTN_MIDDLE] == 1
573 assert evdev.value[libevdev.EV_KEY.BTN_MIDDLE] == 0
580 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1
587 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0
597 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1
598 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1
605 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1
[all …]
Dtest_wacom_generic.py175 def match_evdev_rule(self, application, evdev): argument
186 return evdev.name.endswith(application)
529 evdev = uhdev.get_evdev()
533 assert evdev.name == expected_name
824 evdev = self.uhdev.get_evdev()
825 info = evdev.absinfo[libevdev.EV_ABS.ABS_WHEEL]
838 evdev = uhdev.get_evdev()
840 print(evdev.name)
882 evdev = uhdev.get_evdev()
892 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
[all …]
Dbase.py233 evdev = uhdev.get_evdev()
234 assert uhdev.name in evdev.name
/Linux-v6.6/drivers/clocksource/
Dtimer-riscv.c120 struct clock_event_device *evdev = this_cpu_ptr(&riscv_clock_event); in riscv_timer_interrupt() local
123 evdev->event_handler(evdev); in riscv_timer_interrupt()
Dnomadik-mtu.c177 struct clock_event_device *evdev = dev_id; in nmdk_timer_interrupt() local
180 evdev->event_handler(evdev); in nmdk_timer_interrupt()
Dtimer-clint.c156 struct clock_event_device *evdev = this_cpu_ptr(&clint_clock_event); in clint_timer_interrupt() local
159 evdev->event_handler(evdev); in clint_timer_interrupt()
/Linux-v6.6/Documentation/userspace-api/media/rc/
Drc-intro.rst14 A Remote Controller interface is mapped as a normal evdev/input
/Linux-v6.6/Documentation/hid/
Dhidintro.rst331 the ``EV_KEY/BTN_LEFT`` evdev event and relative X movement translates
332 into the ``EV_REL/REL_X`` evdev event".
355 evdev:
393 - evdev:
397 - evdev:
401 - evdev:
406 - evdev:
/Linux-v6.6/Documentation/input/
Dinput.rst84 evdev subsection
87 ``evdev`` is the generic input event interface. It passes the events
107 evdev nodes are created with minors starting with 256.
Dff.rst27 1. have your kernel configured with evdev and a driver that supports your
29 2. make sure evdev module is loaded and /dev/input/event* device files are
Devent-codes.rst95 sent in the evdev event stream.
115 - Used to indicate buffer overrun in the evdev client's event queue.
158 BTN_TOUCH must be the first evdev code emitted in a synchronization frame.
Duinput.rst27 libevdev is a wrapper library for evdev devices that provides interfaces to
Dinput-programming.rst290 The id and name fields can be passed to userland via the evdev interface.
301 EVIOCGKEYCODE and EVIOCSKEYCODE ioctls on corresponding evdev interface.
/Linux-v6.6/Documentation/usb/
Dmtouchusb.rst61 Perhaps at some point an abstract function will be placed into evdev so
/Linux-v6.6/Documentation/driver-api/media/
Drc-core.rst16 remote controller core is implemented on the top of the linux input/evdev
/Linux-v6.6/Documentation/input/joydev/
Djoystick-api.rst14 encouraged to switch to the generic event (``evdev``) interface.

12