Skip to content

Instantly share code, notes, and snippets.

@lochland-zz
Created December 26, 2016 09:25
Show Gist options
  • Save lochland-zz/e2b378144389417a0436591235c7321f to your computer and use it in GitHub Desktop.
Save lochland-zz/e2b378144389417a0436591235c7321f to your computer and use it in GitHub Desktop.
# This works for the Spartan PS3 controllers that are sold at EB Games in Australia.
# Append this in its entirety to /usr/share/games/mupen64plus/InputAutoCfg.ini.
# This works well for Zelda games and some others; the C buttons are mapped to the
# right analogue stick, which is problematic for some other games (i.e., Super
# Smash Bros.)
[USB Controller]
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = axis(4-)
DPad L = axis(4+)
DPad D = axis(5+)
DPad U = axis(5-)
Start = button(9)
Z Trig = button(6)
B Button = button(3)
A Button = button(2)
C Button R = axis(2+)
C Button L = axis(2-)
C Button D = axis(3+)
C Button U = axis(3-)
R Trig = button(5)
L Trig = button(4)
Mempak switch =
Rumblepak switch =
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment