Function evdev::enumerate[][src]

pub fn enumerate() -> EnumerateDevices

Notable traits for EnumerateDevices

impl Iterator for EnumerateDevices type Item = Device;
Expand description

Crawls /dev/input for evdev devices.

Will not bubble up any errors in opening devices or traversing the directory. Instead returns an empty iterator or omits the devices that could not be opened.