/linux/drivers/input/ |
H A D | evdev.c | 28 struct evdev { struct 47 struct evdev *evdev; member 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() 322 struct evdev *evdev in evdev_free() local 31 grabevdev global() argument 332 evdev_grab(struct evdev * evdev,struct evdev_client * client) evdev_grab() argument 348 evdev_ungrab(struct evdev * evdev,struct evdev_client * client) evdev_ungrab() argument 363 evdev_attach_client(struct evdev * evdev,struct evdev_client * client) evdev_attach_client() argument 371 evdev_detach_client(struct evdev * evdev,struct evdev_client * client) evdev_detach_client() argument 380 evdev_open_device(struct evdev * evdev) evdev_open_device() argument 400 evdev_close_device(struct evdev * evdev) evdev_close_device() argument 414 evdev_hangup(struct evdev * evdev) evdev_hangup() argument 429 struct evdev *evdev = client->evdev; evdev_release() local 463 struct evdev *evdev = container_of(inode->i_cdev, struct evdev, cdev); evdev_open() local 497 struct evdev *evdev = client->evdev; evdev_write() local 560 struct evdev *evdev = client->evdev; evdev_read() local 611 struct evdev *evdev = client->evdev; evdev_poll() local 941 evdev_revoke(struct evdev * evdev,struct evdev_client * client,struct file * file) evdev_revoke() argument 1031 struct evdev *evdev = client->evdev; evdev_do_ioctl() local 1258 struct evdev *evdev = client->evdev; evdev_ioctl_handler() local 1309 evdev_mark_dead(struct evdev * evdev) evdev_mark_dead() argument 1316 evdev_cleanup(struct evdev * evdev) evdev_cleanup() argument 1337 struct evdev *evdev; evdev_connect() local 1401 struct evdev *evdev = handle->private; evdev_disconnect() local [all...] |
H A D | Makefile | 20 obj-$(CONFIG_INPUT_EVDEV) += evdev.o
|
H A D | Kconfig | 153 module will be called evdev.
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_apple_keyboard.py | 168 evdev = uhdev.get_evdev() 177 assert evdev.value[libevdev.EV_KEY.KEY_ALL_APPLICATIONS] == 1 178 assert evdev.value[libevdev.EV_KEY.KEY_FN] == 0 186 assert evdev.value[libevdev.EV_KEY.KEY_ALL_APPLICATIONS] == 0 191 evdev = uhdev.get_evdev() 202 assert evdev.value[libevdev.EV_KEY.KEY_F4] == 1 210 assert evdev.value[libevdev.EV_KEY.KEY_F4] == 0 211 assert evdev.value[libevdev.EV_KEY.KEY_FN] == 1 223 evdev = uhdev.get_evdev() 234 assert evdev [all...] |
H A D | test_sony.py | 42 evdev = uhdev.get_evdev("Accelerometer") 50 value = evdev.value[libevdev.EV_ABS.ABS_X] 61 value = evdev.value[libevdev.EV_ABS.ABS_Y] 70 value = evdev.value[libevdev.EV_ABS.ABS_Z] 75 evdev = uhdev.get_evdev("Accelerometer") 83 value = evdev.value[libevdev.EV_ABS.ABS_RX] 94 value = evdev.value[libevdev.EV_ABS.ABS_RY] 103 value = evdev.value[libevdev.EV_ABS.ABS_RZ] 142 evdev = uhdev.get_evdev("Touch Pad") 150 assert evdev [all...] |
H A D | test_multitouch.py | 503 def match_evdev_rule(self, application, evdev): argument 504 # we need to select the correct evdev node, as the device has multiple 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 [all...] |
H A D | test_wacom_generic.py | 176 def match_evdev_rule(self, application, evdev): argument 178 Filter out evdev nodes based on the requested application. 187 return evdev.name.endswith(application) 530 evdev = uhdev.get_evdev() 534 assert evdev.name == expected_name 825 evdev = self.uhdev.get_evdev() 826 info = evdev.absinfo[libevdev.EV_ABS.ABS_WHEEL] 839 evdev = uhdev.get_evdev() 841 print(evdev.name) 897 def assert_contact(self, evdev, contact_id argument 919 assert_contacts(self, evdev, data, t=0) global() argument 1011 confidence_change_assert_playback(self, uhdev, evdev, timeline) global() argument [all...] |
H A D | test_gamepad.py | 35 evdev = uhdev.get_evdev() 47 assert evdev.value[key] == 1 55 assert evdev.value[key] == 0 67 evdev = uhdev.get_evdev() 85 assert evdev.value[key1] == 1 86 assert evdev.value[key2] == 1 94 assert evdev.value[key1] == 0 95 assert evdev.value[key2] == 1 103 assert evdev.value[key1] == 0 104 assert evdev [all...] |
H A D | base_device.py | 197 def is_a_match(self: "EvdevMatch", evdev: libevdev.Device) -> bool: 199 if not evdev.has(m): 202 if evdev.has(m): 205 if not evdev.has_property(p): 208 if evdev.has_property(p): 234 # we open all evdev nodes in order to not miss any event 244 def evdev(self: "EvdevDevice") -> Path: member in EvdevDevice 262 self.event_node = open(self.evdev, "rb") 351 # Because EvdevDevice(path) opens every single evdev node 372 def match_evdev_rule(self, application, evdev) argument [all...] |
H A D | test_keyboard.py | 266 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 [all...] |
H A D | base_gamepad.py | 18 and an evdev event""" 20 def __init__(self, hid, evdev=None): argument 23 if evdev is None: 24 evdev = f"ABS_{hid.upper()}" 26 self.evdev = libevdev.evbit("EV_ABS", evdev)
|
H A D | test_mouse.py | 483 # there are no evdev nodes, so no events 606 evdev = uhdev.get_evdev() 614 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1 621 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 0 628 assert evdev.value[libevdev.EV_KEY.BTN_MIDDLE] == 1 635 assert evdev.value[libevdev.EV_KEY.BTN_MIDDLE] == 0 642 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1 649 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0 659 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1 660 assert evdev [all...] |
H A D | test_tablet.py | 67 def from_evdev(cls, evdev, test_button) -> "PenState": argument 68 touch = BtnTouch(evdev.value[libevdev.EV_KEY.BTN_TOUCH]) 72 evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] 73 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_PEN] 77 evdev.value[libevdev.EV_KEY.BTN_TOOL_PEN] 78 and not evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] 82 evdev.value[libevdev.EV_KEY.BTN_TOOL_PEN] 83 or evdev.value[libevdev.EV_KEY.BTN_TOOL_RUBBER] 89 button = bool(evdev.value[test_button.value]) 150 Note that those transitions are from the evdev poin 489 __assert_axis(self, evdev, axis, value) global() argument 500 assert_expected_input_events(self, evdev, button) global() argument 662 validate_transitions( self, from_state, pen, evdev, events, allow_intermediate_states, button ) global() argument [all...] |
H A D | base.py | 316 evdev = uhdev.get_evdev() 317 assert uhdev.name in evdev.name
|
/linux/drivers/clocksource/ |
H A D | timer-riscv.c | 149 struct clock_event_device *evdev = this_cpu_ptr(&riscv_clock_event); in riscv_timer_interrupt() local 152 evdev->event_handler(evdev); in riscv_timer_interrupt()
|
H A D | timer-clint.c | 156 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/Documentation/userspace-api/media/rc/ |
H A D | rc-intro.rst | 14 A Remote Controller interface is mapped as a normal evdev/input
|
/linux/Documentation/hid/ |
H A D | hidintro.rst | 331 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/Documentation/input/ |
H A D | input.rst | 84 evdev subsection 87 ``evdev`` is the generic input event interface. It passes the events 107 evdev nodes are created with minors starting with 256.
|
H A D | ff.rst | 27 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
|
H A D | event-codes.rst | 95 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.
|
H A D | uinput.rst | 27 libevdev is a wrapper library for evdev devices that provides interfaces to
|
H A D | input-programming.rst | 290 The id and name fields can be passed to userland via the evdev interface. 301 EVIOCGKEYCODE and EVIOCSKEYCODE ioctls on corresponding evdev interface.
|
/linux/Documentation/usb/ |
H A D | mtouchusb.rst | 61 Perhaps at some point an abstract function will be placed into evdev so
|
/linux/Documentation/driver-api/media/ |
H A D | rc-core.rst | 16 remote controller core is implemented on the top of the linux input/evdev
|