Expand description
Support for hotplug events.
This module is currently Linux-specific. It uses the udev netlink socket to listen for events from a udev implementation.
The recommended way to support device hotplug is to use the hotplug::enumerate function,
which returns an iterator over all devices that are or will be plugged into the system.
Structs§
- Hotplug
Monitor - Monitors the system for newly plugged in input devices.
Functions§
- enumerate
- Enumerates all
evdevdevices, including hotplugged ones.