Hiya, so the Linux kernel keeps recognizing my keyboard as a gamepad, so when I have that plugged in and connect a controller to play it will start polling the first available joystick, /dev/input/js0
, which is my keyboard.
Is there a way to implement automatically selecting a controller based on which one can poll some sort of input?