/proc/bus/input/devices

How to programmatically detect if a gamepad is connected…

Since I managed to get the Xbox Wireless Controller connected to the PINE64 using bluetooth, I had to come up with a way to...
Akinwale
4 min read