A little tool to edit the keymapping for Cyberpunk 2077 to change the normal movement keys.
How to to Edit the Keymapping
All credit goes to blindi!
Description
I wanted to change the standard movement keys (wasd) to the arrow keys. Unfortunately some keys are just hardcoded and you have no possibility to change those via the ingame menu of Cyberpunk. If you still want to change these keys you have to edit to config-files. Therefore i build a little tool to edit the necessary files.
Usage
Close Cyberpunk before editing the config-files.
Make Backupfiles
Before you change anything save your current config-files. Click on Edit->Backup current config-files it will create a Backup folder next to the tool and copy the current config-files into it (inputUserMappings.xml, inputContexts.xml and UserSettings.json).
Edit Normal Key Mappings
The tool will load inputUserMappings.xml, inputContexts.xml and UserSettings.json. The first five tabs show the settings inside the UserSettings.json, those are the same setting you’ll see inside the ingame menu Key Bindings.
More Key Mappings
The last tab shows a lot more tabs. Those settings are from the inputUserMappings.xml. You will find here are all locked key mappings.
Change mapping
After you click on the E-Button next to a setting you want to change you push the new key which you want to assign. If the key won’t be recognized you can edit the key manually.
Save New Settings
To save your changes click on Edit->Save settings and the settings will be written into inputUserMappings.xml and UserSettings.json.
Known Issues
- The tool refreshes slowly, so moving the window takes time.
- Not all Mousebuttons will be recognized automatically
- Mousebuttons has to edit manually e.g. IK_Mouse4, IK_Mouse5
- Alot of settings to edit with no explanation
The tool checks for double assigned key mappings to a certain extend. But it can’t check for issues resulting in wrongly assigned keys. So before you edit anything make a backup!
Even though it’s a quick and dirty solution it helped me to change my movement keys to the arrow keys and get rid of the dodging. Maybe it will help someone of you too.
Download
- Google Drive (174.6 Kb)
This does not work if the game is installed in a non-standard location. Only works for UserSettings.json. I also tried to copy the files to another type of install default directory for Epic Games, GOG, and Steam (which also didn’t work).
If “Backup current config-files” showed the full path on the error, then we could copy the files to that location. However, it only starts with r6 and doesn’t show the full path.