Anthony Horton · @spacelizard
326 followers · 1017 posts · Server aus.social

So... does anyone that follows me know their way around the Linux USB HID joystick/gamepad system?

I'm using a BetaFPV LiteRadio 3 radio control transmitter as a controller for drone simulators. It *almost* Just Works in a rather annoying way. It gets detected as a USB joystick (hidraw5 USB HID v1.11 Joystick) and gets bound to /dev/input/js0, where jstest reports it as having 7 axes and 0 buttons. The problem is that it should be a joystick with *8* axes and 0 buttons (4 axes for the 2 sticks, 2 3-position switches, & 2 2 position switches). Whenever I plug it in one of the 8 axes will be randomly disabled, and the remaining 7 axes will be randomly shuffled. Consequently I have to remap the controller in the game config every time I want to use it, a process that sometimes involves unplugging it and plugging it back in several times until all 4 of the stick axes are functioning (I've given up on using the switches).

Is this something that I could fix with a cunning udev rule or something, or am I stuffed? My web searching has so far failed to find anything useful.

#linux #usbhid #gamingonlinux #fpv #liftoff #velocidrone

Last updated 2 years ago

Rock Paper Shotgun · @rockpapershotgun
472 followers · 20668 posts · Server die-partei.social