fgsfdsfgs / perfect_dark

work in progress port of n64decomp/perfect_dark to modern platforms
MIT License
1.21k stars 74 forks source link

Nintendo 64 controller (Switch) key bindings #519

Open Donny316 opened 1 week ago

Donny316 commented 1 week ago

Is anyone else playing with a Switch N64 controller? I found it hard to get the key bindings right, but more or less have now done so. The only problem is that the Z-trigger and C-Down seem to both map to fire. Here are my key bindings. Does anyone have any advice? I prefer playing with the N64 controller, as strange as that may seem, purely because the controls are burned into my muscle memory.

Screenshot 2024-10-07 234250

LonelySpaceDetective commented 1 week ago

What happens exactly when you press Z or C-Down? Do you just fire and do nothing else, or fire and aim down/move backwards (depending on the selected in-game control scheme) at the same time? Does it change depending on which of the two you press?

FrostKnight commented 1 week ago

What kind of controller adapter are you using? Curious, because raphnet 3.6 also doesn't work right. Only V2 config and older exist in this i think.

LonelySpaceDetective commented 1 week ago

What kind of controller adapter are you using? Curious, because raphnet 3.6 also doesn't work right. Only V2 config and older exist in this i think.

The Switch N64 repro I think is just a standard wireless controller in the same style as the Pro controller. Never had one so I'm not 100%, but it certainly isn't something you'd need to get a Raphnet adapter for.

Donny316 commented 6 days ago

What happens exactly when you press Z or C-Down? Do you just fire and do nothing else, or fire and aim down/move backwards (depending on the selected in-game control scheme) at the same time? Does it change depending on which of the two you press?

It fires and aims up simultaneously. So basically it performs the correct function, but also shoots the weapon.

LonelySpaceDetective commented 5 days ago

It fires and aims up simultaneously. So basically it performs the correct function, but also shoots the weapon.

I see. Are the buttons merged in any other games or applications (in particular, ones that use SDL for controller input), or is it just this PC port that gives you this issue? If the latter, I'd check pd.ini to see if two controller buttons are assigned to the same function.