tecywiz121 / cp77-keys

Generate a new keymap file for Cyperpunk 2077

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cp77-keys

A small utility to generate a new set of keybindings for Cyberpunk 2077

I use a Dvorak keyboard. Other people use different keyboard layouts. While I don't doubt that eventually you'll be able to rebind every key in Cyberpunk 2077, I don't want to wait. This command line tool transforms the inputUserMappings.xml file according to a map (see maps/dvorak.json for an example.)

Why a tool, you ask? Because every time the game is updated, the keybindings are lost.

Installation

Until I get around to setting up a build, you'll have to compile the utility yourself. First, you'll need to install Rust and download the source code and extract it.

Then, from the extracted source directory, you can do something like:

cargo run -- maps/dvorak.json

The above command will transform the game's keybindings so that the new bindings are where they would have been on a QWERTY layout. For example, move forward used to be W and is now ,.

About

Generate a new keymap file for Cyperpunk 2077

License:GNU Affero General Public License v3.0


Languages

Language:Rust 100.0%