Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get linux input devices

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.

like image 249
axe Avatar asked Feb 03 '26 06:02

axe


1 Answers

It sounds like you wanted the command:

libinput list-devices
like image 135
solanum Avatar answered Feb 04 '26 18:02

solanum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!