wkBindKeys

From Worms Knowledge Base

Revision as of 14:53, 26 February 2014 by Drey08 (Talk | contribs) (Add note about mapping numpad keys.)

Jump to: navigation, search
(Up to WormKit)
wkBindKeys
Developer: drey08
Latest version: 1.0.4 / 2014 February 25
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 (169 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.

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

List of all virtual key codes

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.

Personal tools