Skip to content

Instantly share code, notes, and snippets.

@Lewiscowles1986
Created April 7, 2017 13:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lewiscowles1986/9fe1a51e436998046b5e54cdef70722b to your computer and use it in GitHub Desktop.
Save Lewiscowles1986/9fe1a51e436998046b5e54cdef70722b to your computer and use it in GitHub Desktop.
Mupen 64 Plus DragonRise N64 USB Joystick
[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 = "DragonRise Inc. Generic USB Joystick "
# 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 = 1
# 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 t$
AnalogPeak = "32768,32768"
# Digital button configuration mappings
DPad R = "axis(0+)"
DPad L = "axis(0-)"
DPad D = "axis(3+)"
DPad U = "axis(3-)"
Start = "button(9)"
Z Trig = "button(8)"
B Button = "button(4)"
A Button = "button(5)"
C Button R = "button(1)"
C Button L = "button(3)"
C Button D = "button(2)"
C Button U = "button(0)"
R Trig = "button(7)"
L Trig = "button(6)"
Mempak switch = "Select..."
Rumblepak switch = "Select..."
# Analog axis configuration mappings
X Axis = "axis(0-,0+)"
Y Axis = "axis(3-,3+)"
@matthewhartman
Copy link

Life saver! Thanks for sharing this! Works like a charm!
I had the DragonRise Inc. Generic USB Joystick

@Lewiscowles1986
Copy link
Author

I am so glad this helped someone else. Thank you for the polite thanks and the information. I Hope it helps others.

@pipelinedave
Copy link

thank you very much. this just enabled me to finally replay rogue squadron after all these years :)

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