Skip to content

Instantly share code, notes, and snippets.

@rchacon
Last active May 13, 2017 03:31
Show Gist options
  • Save rchacon/6d5f0ff34412f7f5fba0d58d9505f039 to your computer and use it in GitHub Desktop.
Save rchacon/6d5f0ff34412f7f5fba0d58d9505f039 to your computer and use it in GitHub Desktop.
Xbox 360 Controller bindings for Mupen64 on OSX
[Input-SDL-Control1]
# Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.
version = 2
# Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
mode = 0
# Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
device = 0
# SDL joystick name (or Keyboard)
name = "Xbox 360 Wired Controller"
# Specifies whether this controller is 'plugged in' to the simulated N64
plugged = True
# Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
plugin = 2
# If True, then mouse buttons may be used with this controller
mouse = False
# Scaling factor for mouse movements. For X, Y axes.
MouseSensitivity = "2.00,2.00"
# The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
AnalogDeadzone = "4096,4096"
# An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
AnalogPeak = "32768,32768"
# Digital button configuration mappings
DPad R = ""
DPad L = ""
DPad D = ""
DPad U = ""
Start = "button(8)"
Z Trig = "axis(2+)"
B Button = "button(1)"
A Button = "button(0)"
C Button R = "button(4)"
C Button L = ""
C Button D = ""
C Button U = ""
R Trig = "button(5)"
L Trig = "button(3)"
Mempak switch = """"
Rumblepak switch = """"
# Analog axis configuration mappings
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