I need to get list of input devices on Linux operating system. Something similar to parsing /proc/bus/input/devices, but I actually don't want to reinvent the wheel. I believe there should be some system functions to enumerate devices and things like that. It is an embedded Linux, so I am limited in libraries I can use.
It sounds like you wanted the command:
libinput list-devices
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With