Void Linux usb joypad

1 min read

I was trying to use my usb joypad to play, but the emulator was not recognizing it, the fix was pretty simple, my user needed to be part of the input group.

# doas usermod -aG  input neirac

Then disable the joypad if it’s being used as a pointing device by xorg, as the mouse would go wild while you play.

# xinput list 
[neirac@gendyn posts]$ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Cirque Corporation USB GlidePoint         id=9    [slave  pointer  (2)]
⎜   ↳ Twin USB Joystick                         id=11   [slave  pointer  (2)]
⎜   ↳ Twin USB Joystick                         id=13   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ HID 05f3:0007                             id=6    [slave  keyboard (3)]
    ↳ HID 05f3:0007 System Control              id=7    [slave  keyboard (3)]
    ↳ HID 05f3:0007 Consumer Control            id=8    [slave  keyboard (3)]
    ↳ Twin USB Joystick (keys)                  id=10   [slave  keyboard (3)]
    ↳ Twin USB Joystick (keys)                  id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]

# xinput --disable <your joypad id>


  • ahesford #voidlinux channel on irc(freenode)