sm64plus
sm64plus copied to clipboard
[Tutorial] Manual controller input mapping in the launcher
As of the launcher version 3.0.0, the launcher does not recognize any controller inputs for some reason. I know for a fact that my Logitech F310 is recognized because the terminal window says so when I run the app in my Linux computer.
After running the main game, the controller works perfectly fine, so it's not a big issue.
If you want to manually remap the buttons (I can't help you with your analog sticks, if that's what you need. Consider using Antimicro or something), first find the file settings.ini
. If you use Linux, it's at ~/.config/SM64Plus/settings.ini
. If you're on Windows, I can't help you, but I'd guess it's at %LOCALAPPDATA%\SM64Plus
or somewhere similar to that.
Go to the [INPUT MAPPING]
section. You may notice that these inputs are all either powers of 2 or sums of powers of 2. For instance, button_l
at my computer is button_l="1024.000000"
. I'd recommend using something like Antimicro or any other controller calibration/testing software to directly find out which digital button corresponds to which power of 2. In my Logitech F310 (XInput Mode), the layout is as follows:
A: 1 : 2
B: 2 : 4
X: 3 : 8
Y: 4 : 16
Select: 5 : 32
Guide: 6 : 64
Start: 7 : 128
LS Press: 8 : 256
RS Press: 9 : 512
LB: 10 : 1024
RB: 11 : 2048
D-Up: 12 : 4096
D-Down: 13 : 8192
D-Left: 14 : 16384
D-Right: 15 : 32768
LT: 22: 4194304
RT: 23: 8388608
LT and RT were mapped manually by me after testing powers of 2 up to 2^24.
Now, if you wish to map button_cup
to be activated by X or LT, you will use the sum of these inputs: 8+4194304 = 4194312, and then
button_cup="4194312.000000"
Repeat this for whichever inputs you wish to remap.