pub fn parse_input_devices(content: &str) -> Vec<InputDevice>Expand description
Parses the whole of /proc/bus/input/devices into records.
Records are separated by blank lines; unrecognised lines are ignored, and a record with no name is dropped (it cannot be displayed anyway). Pure, so it is tested against a fixture rather than the host’s real hardware.