Skip to content

Instantly share code, notes, and snippets.

@LouisBrunner
Last active April 17, 2023 02:53
Show Gist options
  • Save LouisBrunner/561ca02a2814ddba886f to your computer and use it in GitHub Desktop.
Save LouisBrunner/561ca02a2814ddba886f to your computer and use it in GitHub Desktop.
Configuration for the Xbox360 controller to use with Nintendo 64 emulator mupen64
[Xbox 360 Wired Controller]
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = "button(3)"
DPad L = "button(2)"
DPad D = "button(0)"
DPad U = "button(1)"
Start = "button(4)"
Z Trig = "axis(5+)"
B Button = "button(12)"
A Button = "button(11)"
C Button R = "axis(2+)"
C Button L = "axis(2-)"
C Button D = "axis(3+)"
C Button U = "axis(3-)"
R Trig = "button(9)"
L Trig = "button(8)"
Mempak switch = ""
Rumblepak switch = ""
X Axis = "axis(0-,0+)"
Y Axis = "axis(1-,1+)"
@alexislefebvre
Copy link

Thanks!

@injuredamoeba
Copy link

how do I make this work?

@LouisBrunner
Copy link
Author

@injuredamoeba Copy it in the mupen64 config file (e.g. location for mupen64plus https://www.mupen64plus.org/wiki/index.php?title=FileLocations)

@xslendix
Copy link

I've pasted it in but it still doesn't work, can I have your entire config file please?

@LouisBrunner
Copy link
Author

Unfortunately, I don't have it setup anymore. I will have a snoop and see if I can find an old version somewhere, no promise though :/

@DistanceComplete
Copy link

How do I put the code in? and does it work for Mupen64++?

@DistanceComplete
Copy link

oh wait forget the first question

@DistanceComplete
Copy link

and the second

@DistanceComplete
Copy link

where is the config file?

@G2G2G2G
Copy link

G2G2G2G commented Mar 29, 2021

I've pasted it in but it still doesn't work, can I have your entire config file please?

@xslendix
it's cuz of the controller names. Install "joyutils" you need "jstest" "jscal" etc

jstest --normal /dev/input/js0 should work for you, and it'll tell you your controller name
I deleted the entire config file and just added mine, which was [XInput: Microsoft X-Box 360 pad]
There seems to be actually like 20 different names for the x box controller.. so just either add a giant list of all of them from the config file or find your name

@G2G2G2G
Copy link

G2G2G2G commented Mar 29, 2021

Actually just use https://github.com/m64p

it has full gui, controller config, plugins configs, net play, etc. Like dolphin emulator for n64 almost

@TheCurdy
Copy link

@G2G2G2G I have downloaded joyutils. What do I do now?

@G2G2G2G
Copy link

G2G2G2G commented Mar 31, 2021

I already answered that in the same post... also just use m64p

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