evdev.nodes

evdev

nodes(root) -> names

List the event nodes without opening them

The event* entries under root, /dev/input by default, in number order. Nothing is opened, so a node this process may not open is still listed. A root that does not read gives an empty table.

capabilities takes a name from here, and open takes <root>/<name>.