Skip to content

Instantly share code, notes, and snippets.

@pwalkr
Last active December 18, 2022 23:38
Show Gist options
  • Save pwalkr/014fdfd978d40490a5da73d8093c7d73 to your computer and use it in GitHub Desktop.
Save pwalkr/014fdfd978d40490a5da73d8093c7d73 to your computer and use it in GitHub Desktop.
Configuring N64 controller in RetroPie

The controller is easy enough to configure in Emulation Station frontend, but once in a game, the buttons are not correct. A tuned configuration is required for use with mupen64 emulators.

$ dmesg
[194164.863158] usb 1-1: new low-speed USB device number 6 using xhci_hcd
[194165.007396] usb 1-1: New USB device found, idVendor=0079, idProduct=0006, bcdDevice= 1.09
[194165.007420] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[194165.007432] usb 1-1: Product: Generic   USB  Joystick  
[194165.036270] input: Generic   USB  Joystick   as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:0079:0006.0006/input/input28
[194165.036567] dragonrise 0003:0079:0006.0006: input,hidraw3: USB HID v1.10 Joystick [Generic   USB  Joystick  ] on usb-0000:00:14.0-1/input0
[194165.036582] dragonrise 0003:0079:0006.0006: Force Feedback for DragonRise Inc. game controllers by Richard Walmsley <richwalm@gmail.com>

$ lsusb
Bus 001 Device 006: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad

Presents as Generic USB Joystick in mupen64plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment