fgsfdsfgs / perfect_dark

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

Allow rebinding of look keys #474

Open megatog615 opened 3 months ago

megatog615 commented 3 months ago

By default the arrow keys are used to look up, down, left, and right. I would like to be able to rebind those actions and/or unbind them entirely in the ext control scheme keybindings menu so I can use those keys for other things.

LonelySpaceDetective commented 3 months ago

Correct me if I'm wrong, but you could just edit pd.ini in the game directory directly for this, right?

Just change the following:

STICK_XNEG=LEFT STICK_XPOS=RIGHT STICK_YNEG=DOWN STICK_YPOS=UP

to:

STICK_XNEG=NONE STICK_XPOS=NONE STICK_YNEG=NONE STICK_YPOS=NONE

or to whatever keys you want them to be bound to.

Admittedly though, being able to do it in-game would be more convenient.

fgsfdsfgs commented 3 months ago

That is correct. For a second I thought that the reason they are not rebindable in the menu is because unbinding them will cause you to lose control of the menu, but you can still control it with whatever is bound to WASD. In any case, now that there is mouse control this is not as much of a problem.