Difference between revisions of "WkRemapKeys"
From Worms Knowledge Base
m (http -> https) |
m |
||
Line 7: | Line 7: | ||
| version = 1.2.1 / 2 July 2020 | | version = 1.2.1 / 2 July 2020 | ||
| games = [[Worms Armageddon|W:A]] | | games = [[Worms Armageddon|W:A]] | ||
− | | waver = 3.7 | + | | waver = 3.7+ |
| waeditions = {{WA editions|cd|steam|gog}} | | waeditions = {{WA editions|cd|steam|gog}} | ||
| language = C++ | | language = C++ |
Latest revision as of 14:47, 26 December 2020
wkRemapKeys | |
---|---|
Developer: | Kawoosh, StepS |
Latest version: | 1.2.1 / 2 July 2020 |
Supported games: | W:A |
Supported W:A version: | 3.7+ |
Supported W:A editions: | |
Language: | C++ |
License: | Closed source |
Download: | RemapKeys 1.2.1 (64 kB) |
This WormKit module allows you to change bindings of any keys on the keyboard. It works only during the game and doesn't affect chatting (completely as of 1.2.0.0).
How to use it
First of all, you need to have the "Load WormKit modules" option from Advanced settings enabled. Unpack the files into your W:A folder.
An example is written in the ini file:
[RemapKeys]
Space = Space, X, C
In this example, we bind Space to X and C keys while also letting the original spacebar work. If you don't want to keep the original key then simply don't include it in the mapping list (e.g., "F1 = Q" permanently changes F1 to Q, and only Q can now perform the function of F1).
If you remap to keys that already perform some action by default (such as F-keys or grenade bounciness keys), you have to keep in mind that the original actions will take priority whenever the game expects them to be used, unless they are disabled or remapped to other keys. For example, if you remap Space to the + key, it will act as Space in all cases except when a grenade is selected: then it'll use its primary function of setting the bounciness to MAX. If that's not what you want, remap or disable the + key. To disable a key completely, map it to "null".
You can also use key codes instead of key names: in this case, insert # followed by the code. For example, insert #32 (decimal) or #0x20 (hexadecimal) for the Space key.
Symbolic key names are not case-sensitive. See the table below to know about possible names and codes.
Key names and codes
Code | Symbolic name | Description |
---|---|---|
#8 | Backspace | Backspace key |
#9 | Tab | Tabulation key |
#12 | Clear | Clear key |
#13 | Enter | Enter key |
#16 | Shift | Shift key |
#17 | Ctrl | Control key |
#18 | Alt | Alt key |
#19 | Pause | Pause key |
#20 | CapsLock | Caps Lock key |
#27 | Esc | Escape key |
#32 | Space | Space key |
#33 | PageUp | Page Up key |
#34 | PageDown | Page Down key |
#35 | End | End key |
#36 | Home | Home key |
#37 | Left | Left Arrow key |
#38 | Up | Up Arrow key |
#39 | Right | Right Arrow key |
#40 | Down | Down Arrow key |
#41 | Select | Select key |
#42 | Print key | |
#43 | Execute | Execute key |
#44 | PrintScreen | PrintScreen key |
#45 | Ins | Insert key |
#46 | Del | Delete key |
#47 | Help | Help key |
#48 | 0 | 0 key |
#49 | 1 | 1 key |
#50 | 2 | 2 key |
#51 | 3 | 3 key |
#52 | 4 | 4 key |
#53 | 5 | 5 key |
#54 | 6 | 6 key |
#55 | 7 | 7 key |
#56 | 8 | 8 key |
#57 | 9 | 9 key |
#65 | A | A key |
#66 | B | B key |
#67 | C | C key |
#68 | D | D key |
#69 | E | E key |
#70 | F | F key |
#71 | G | G key |
#72 | H | H key |
#73 | I | I key |
#74 | J | J key |
#75 | K | K key |
#76 | L | L key |
#77 | M | M key |
#78 | N | N key |
#79 | O | O key |
#80 | P | P key |
#81 | Q | Q key |
#82 | R | R key |
#83 | S | S key |
#84 | T | T key |
#85 | U | U key |
#86 | V | V key |
#87 | W | W key |
#88 | X | X key |
#89 | Y | Y key |
#90 | Z | Z key |
#91 | LeftWin | Left Win key |
#92 | RightWin | Right Win key |
#93 | AppsWin | Apps (Menu) key |
#95 | Sleep | Sleep key |
#96 | Num0 | Numpad 0 key [1] |
#97 | Num1 | Numpad 1 key |
#98 | Num2 | Numpad 2 key |
#99 | Num3 | Numpad 3 key |
#100 | Num4 | Numpad 4 key |
#101 | Num5 | Numpad 5 key |
#102 | Num6 | Numpad 6 key |
#103 | Num7 | Numpad 7 key |
#104 | Num8 | Numpad 8 key |
#105 | Num9 | Numpad 9 key |
#106 | NumMultiply | Numpad Multiply (*) key |
#107 | NumAdd | Numpad Add (+) key |
#108 | NumEnter | Numpad Separator key [2] |
#109 | NumSubtract | Numpad Subtract (-) key |
#110 | NumDecimal | Numpad Decimal (.) key |
#111 | NumDivide | Numpad Divide (/) key |
#112 | F1 | F1 key |
#113 | F2 | F2 key |
#114 | F3 | F3 key |
#115 | F4 | F4 key |
#116 | F5 | F5 key |
#117 | F6 | F6 key |
#118 | F7 | F7 key |
#119 | F8 | F8 key |
#120 | F9 | F9 key |
#121 | F10 | F10 key |
#122 | F11 | F11 key |
#123 | F12 | F12 key |
#124 | F13 | F13 key |
#125 | F14 | F14 key |
#126 | F15 | F15 key |
#127 | F16 | F16 key |
#128 | F17 | F17 key |
#129 | F18 | F18 key |
#130 | F19 | F19 key |
#131 | F20 | F20 key |
#132 | F21 | F21 key |
#133 | F22 | F22 key |
#134 | F23 | F23 key |
#135 | F24 | F24 key |
#144 | NumLock | Num Lock key |
#145 | ScrollLock | Scroll Lock key |
#186 | OemColon | ;: key [3] |
#187 | OemPlus | += key |
#188 | OemComma | ,< key |
#189 | OemMinus | -_ key |
#190 | OemPeriod | .> key |
#191 | OemQuestionmark | /? key [3] |
#192 | OemTilde | `~ key [3] |
#219 | OemLeftBracket | [{ key [3] |
#220 | OemVerticalBar | |\ key [3] |
#221 | OemRightBracket | ]} key [3] |
#222 | OemQuote | '" key [3] |