Mega Man X Legacy Collection

Mega Man X Legacy Collection

Not enough ratings
Alternative Method for Rebinding Keyboard Controls (without input remapping software)
By The_NothingForEverything
This guide will go over an alternative method to rebind your keyboard controls (including WASD or similar for movement) without using any remapping software like autohotkey, reWASD, or universal control remapper.
   
Award
Favorite
Favorited
Unfavorite
Intro
Anyone who has tried to play this game with a keyboard knows that the options for rebinding your controls are very limited. As a workaround, we can use remapping software like Autohotkey, reWASD, and UCR to change the keyboard controls. For a while, I thought autohotkey or reWASD was the best we could do to play this collection, but there is one more alternative. This alternative method will allow us to remap the keyboard controls by using a dinput8.dll hacking tool called "DINPUT key switcher" (all credit goes to the author of this tool).

The advantage of this method vs remapping software is that once you set it up, it is built into the game. No need to install any 3rd party drivers (UCR), pay for any software (reWASD), manually write/execute a script (autohotkey), or have any external programs running just to have the keyboard bindings you want.
Setup DINPUT key switcher
First, download the DINPUT key switcher tool. Go to the tool's github here [github.com] and download the zip file from the 'Code' dropdown.


Once you open the zip file, navigate to the folder where the configuration tool is located (\DINPUT-key-switcher-master\DINPUT8 key switcher\DINPUT key switcher\bin\Release).


Copy or extract both of the files ("dinput8.dll" and "dinput8 key switcher.exe") to where steam installed the game (for instance "C:\Program Files (x86)\Steam\steamapps\common\Mega Man X Legacy Collection\" or "C:\Program Files (x86)\Steam\steamapps\common\Mega Man X Legacy Collection 2\").


Run the "dinput key switcher.exe" file (verified that it is safe already via windows defender) and use the tool to configure the controls.

For reference, here are the default controls for X1-X3.


Once it is configured to your liking, click 'Save and exit'.



Now when you run the game (make sure the tool is closed first), your keyboard controls are automatically applied. If you need to modify the controls again, simply re-run the tool, make the changes, and click Save and exit again. The only bug I noticed with this tool is that I am unable to map spacebar (in-game menu) to Enter, but I found that it works fine with most other keys (I have spacebar mapped to '1' on my keyboard).
Credits
Thanks to the author of DINPUT key switcher for giving us this solution.
3 Comments
zog_4 8 Apr @ 6:18am 
muchas gracias por la ayuda :))))
The_NothingForEverything  [author] 19 Oct, 2024 @ 2:51pm 
@pex
Alt tabbing seems works just fine. As for whether it works in any game, it depends on whether or not it uses dinput8.dll or dinput.dll. A good number of games do thankfully, like this one. If the game uses dinput8.dll, just copy the dll and exe from this guide, and for regular dinput.dll, copy from the 'dinput key switcher' folder (without the 8) instead. Just experiment and see for both versions whether it works, if not, you can always fallback to autohotkey. From my testing so far, it seems to work with a good number of games.
pex 18 Oct, 2024 @ 8:38pm 
hey i know its been a while, usually i tackle autohotkey for messed ports like those but you showed me one hell of a new tool to fiddle with, for that thank you very much, question tho, does it work for any game ? and can i safely alt tab without breaking shi ?