evdev icon indicating copy to clipboard operation
evdev copied to clipboard

how to get sysfs of device

Open ImUrX opened this issue 3 years ago • 1 comments

I wanted to know if it might be possible to get this info somehow

ImUrX avatar Jan 08 '23 18:01 ImUrX

Easiest approach (since you have the device path anyway) is probably to take the basename (event0) and build a path to /sys/class/input/event0.

whot avatar Aug 28 '23 08:08 whot