DupKeys - Multi-Key Control
The DupKeys modification provides a unique ability to assign multiple physical keys to perform a single in-game action. Let's consider a practical usage example:
Imagine you want to configure the attack/block breaking action to work with both the left mouse button and the 'N' key on the keyboard.
To do this, you first need to open the configuration file dupkeys-client.toml and set the value of the kb1 parameter to key.attack. To find identifiers for other actions, you can review the options.txt file.
Then in the in-game "Controls" menu, you need to assign Virtual Key 1 to the 'N' key. After this, the attack/block breaking action will trigger both when pressing the left mouse button and when using the 'N' key.