wkBindKeys
From Worms Knowledge Base
wkBindKeys | |
---|---|
Developer: | drey08 |
Latest version: | 1.0 / June 6, 2016 |
Supported games: | W:A |
Supported W:A version: | All versions |
Language: | D |
License: | Open source (Boost) |
Website: | https://github.com/AndrejMitrovic/wkBindKeys |
Download: | the archive (670 kB) |
This WormKit module allows you to remap any keys on the keyboard when playing W:A. It uses a readable key binding config file, and has a toggle key option.
Note: wkBindKeys does not automatically detect the chat window in-game, the key bindings have to be toggled on or off with the toggle key. Chat window detection is a planned feature.
Contents
Requirements
The wormkit module requires the DLL madCHook.dll. This DLL may have been distributed in earlier versions of WA, but if it's missing in your installation folder you will have to find and install it manually. Some other WormKit modules may contain this DLL in their zipped package.
How to use it
You need to have the Load WormKit modules option in the Advanced settings in W:A enabled. Unpack the contents of the wkBindKeys archive into your W:A folder.
Example key bindings are located in the wkBindKeys.ini config file.
Example of the wkBindKeys.ini config file
# This is the wkBindKeys configuration file. # Lines starting with '#' are comment lines. # # The configuration format is: # new_key = target_key # Key used to toggle the key bindings on and off home=toggle # Pressing 'a' will be the same as pressing the enter key a=enter d=space g=`
Usage notes
When the Num Lock key is toggled off the numpad arrow keys act as regular arrow keys, which means you cannot map them to different key bindings. The following bindings only work when the Num Lock key is toggled on:
VK_NUMPAD4=enter VK_NUMPAD6=space
Bugs / Feature Requests
If you find bugs or want to submit feature requests, please file them here. You may need a GitHub account before submitting any issues (registration is free).
List of supported keys
Use the key names from the Symbolic Constant Name column when editing the wkBindKeys.ini config file. wkBindKeys also supports an alternate but simpler syntax for the key names, e.g. left-shift, r-ctrl, etc.