Skip to main content

Module devices

Module devices 

Source
Expand description

Device discovery, hotplug monitoring, and event polling. Device discovery, hotplug, and capability detection.

Manages the set of active input devices. Uses inotify to watch /dev/input/ for device add/remove events. Probes new devices for keyboard capabilities before adding them to the poll set.

Structs§

DeviceKeyEvent
A key event from a specific device.
DeviceManager
Manages discovered input devices and watches for hotplug events.
PollResult
Result of processing polled events.

Enums§

DeviceGrabMode
Whether devices should be grabbed for exclusive access.

Constants§

INPUT_DIRECTORY
Default path to the Linux input device directory.