Difference between revisions of "WkRemapKeys"
From Worms Knowledge Base
(Fixes) |
m |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{lowercase title}}{{ParentArticle|[[WormKit]]}} | + | {{lowercase title}} |
+ | {{ParentArticle|[[WormKit]]}} | ||
+ | {{languages|en|wkRemapKeys|ru|wkRemapKeys/ru}} | ||
{{Software_infobox | {{Software_infobox | ||
| name = wkRemapKeys | | name = wkRemapKeys | ||
| developer = [[People/Kawoosh|Kawoosh]], [[People/StepS|StepS]] | | developer = [[People/Kawoosh|Kawoosh]], [[People/StepS|StepS]] | ||
− | | version = 1. | + | | 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}} | ||
| language = C++ | | language = C++ | ||
| license = Closed source | | license = Closed source | ||
− | | download = [ | + | | download = [https://worms2d.info/files/wkRemapKeys_1.2.1.zip RemapKeys 1.2.1 (64 kB)] |
}} | }} | ||
− | This [[WormKit]] module allows you to | + | 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 == | == 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. | 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 | + | An example is written in the ini file: |
<code>[RemapKeys]<br> | <code>[RemapKeys]<br> | ||
− | + | Space = Space, X, C</code> | |
− | + | 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. | |
− | {| class="wikitable collapsible collapsed" width=" | + | === Key names and codes === |
+ | {| class="wikitable collapsible collapsed" width="50%" | ||
|- | |- | ||
− | ! | + | !Code |
+ | !Symbolic name | ||
+ | !Description | ||
|- | |- | ||
− | |8 | + | |#8 |
|Backspace | |Backspace | ||
+ | |Backspace key | ||
|- | |- | ||
− | |9 | + | |#9 |
|Tab | |Tab | ||
+ | |Tabulation key | ||
|- | |- | ||
− | |12 | + | |#12 |
|Clear | |Clear | ||
+ | |Clear key | ||
|- | |- | ||
− | |13 | + | |#13 |
|Enter | |Enter | ||
+ | |Enter key | ||
|- | |- | ||
− | |16 | + | |#16 |
|Shift | |Shift | ||
+ | |Shift key | ||
|- | |- | ||
− | |17 | + | |#17 |
|Ctrl | |Ctrl | ||
+ | |Control key | ||
|- | |- | ||
− | |18 | + | |#18 |
|Alt | |Alt | ||
+ | |Alt key | ||
|- | |- | ||
− | |19 | + | |#19 |
|Pause | |Pause | ||
+ | |Pause key | ||
|- | |- | ||
− | |20 | + | |#20 |
− | |Caps Lock | + | |CapsLock |
+ | |Caps Lock key | ||
|- | |- | ||
− | |27 | + | |#27 |
− | |Escape | + | |Esc |
+ | |Escape key | ||
|- | |- | ||
− | |32 | + | |#32 |
|Space | |Space | ||
+ | |Space key | ||
|- | |- | ||
− | |33 | + | |#33 |
− | |Page Up | + | |PageUp |
+ | |Page Up key | ||
|- | |- | ||
− | |34 | + | |#34 |
− | |Page Down | + | |PageDown |
+ | |Page Down key | ||
|- | |- | ||
− | |35 | + | |#35 |
|End | |End | ||
+ | |End key | ||
|- | |- | ||
− | |36 | + | |#36 |
|Home | |Home | ||
+ | |Home key | ||
|- | |- | ||
− | |37 | + | |#37 |
− | |Left | + | |Left |
+ | |Left Arrow key | ||
|- | |- | ||
− | |38 | + | |#38 |
− | |Up | + | |Up |
+ | |Up Arrow key | ||
|- | |- | ||
− | |39 | + | |#39 |
− | |Right Arrow | + | |Right |
+ | |Right Arrow key | ||
|- | |- | ||
− | |40 | + | |#40 |
− | |Down Arrow | + | |Down |
+ | |Down Arrow key | ||
|- | |- | ||
− | |41 | + | |#41 |
|Select | |Select | ||
+ | |Select key | ||
|- | |- | ||
− | |42 | + | |#42 |
|Print | |Print | ||
+ | |Print key | ||
|- | |- | ||
− | |43 | + | |#43 |
|Execute | |Execute | ||
+ | |Execute key | ||
|- | |- | ||
− | |44 | + | |#44 |
|PrintScreen | |PrintScreen | ||
+ | |PrintScreen key | ||
|- | |- | ||
− | |45 | + | |#45 |
|Ins | |Ins | ||
+ | |Insert key | ||
|- | |- | ||
− | |46 | + | |#46 |
|Del | |Del | ||
+ | |Delete key | ||
|- | |- | ||
− | |47 | + | |#47 |
|Help | |Help | ||
+ | |Help key | ||
|- | |- | ||
− | |48 | + | |#48 |
|0 | |0 | ||
+ | |0 key | ||
|- | |- | ||
− | |49 | + | |#49 |
|1 | |1 | ||
+ | |1 key | ||
|- | |- | ||
− | |50 | + | |#50 |
|2 | |2 | ||
+ | |2 key | ||
|- | |- | ||
− | |51 | + | |#51 |
|3 | |3 | ||
+ | |3 key | ||
|- | |- | ||
− | |52 | + | |#52 |
|4 | |4 | ||
+ | |4 key | ||
|- | |- | ||
− | |53 | + | |#53 |
|5 | |5 | ||
+ | |5 key | ||
|- | |- | ||
− | |54 | + | |#54 |
|6 | |6 | ||
+ | |6 key | ||
|- | |- | ||
− | |55 | + | |#55 |
|7 | |7 | ||
+ | |7 key | ||
|- | |- | ||
− | |56 | + | |#56 |
|8 | |8 | ||
+ | |8 key | ||
|- | |- | ||
− | |57 | + | |#57 |
|9 | |9 | ||
+ | |9 key | ||
|- | |- | ||
− | |65 | + | |#65 |
|A | |A | ||
+ | |A key | ||
|- | |- | ||
− | |66 | + | |#66 |
|B | |B | ||
+ | |B key | ||
|- | |- | ||
− | |67 | + | |#67 |
|C | |C | ||
+ | |C key | ||
|- | |- | ||
− | |68 | + | |#68 |
|D | |D | ||
+ | |D key | ||
|- | |- | ||
− | |69 | + | |#69 |
|E | |E | ||
+ | |E key | ||
|- | |- | ||
− | |70 | + | |#70 |
|F | |F | ||
+ | |F key | ||
|- | |- | ||
− | |71 | + | |#71 |
|G | |G | ||
+ | |G key | ||
|- | |- | ||
− | |72 | + | |#72 |
|H | |H | ||
+ | |H key | ||
|- | |- | ||
− | |73 | + | |#73 |
|I | |I | ||
+ | |I key | ||
|- | |- | ||
− | |74 | + | |#74 |
|J | |J | ||
+ | |J key | ||
|- | |- | ||
− | |75 | + | |#75 |
|K | |K | ||
+ | |K key | ||
|- | |- | ||
− | |76 | + | |#76 |
|L | |L | ||
+ | |L key | ||
|- | |- | ||
− | |77 | + | |#77 |
|M | |M | ||
+ | |M key | ||
|- | |- | ||
− | |78 | + | |#78 |
|N | |N | ||
+ | |N key | ||
|- | |- | ||
− | |79 | + | |#79 |
|O | |O | ||
+ | |O key | ||
|- | |- | ||
− | |80 | + | |#80 |
|P | |P | ||
+ | |P key | ||
|- | |- | ||
− | |81 | + | |#81 |
|Q | |Q | ||
+ | |Q key | ||
|- | |- | ||
− | |82 | + | |#82 |
|R | |R | ||
+ | |R key | ||
|- | |- | ||
− | |83 | + | |#83 |
|S | |S | ||
+ | |S key | ||
|- | |- | ||
− | |84 | + | |#84 |
|T | |T | ||
+ | |T key | ||
|- | |- | ||
− | |85 | + | |#85 |
|U | |U | ||
+ | |U key | ||
|- | |- | ||
− | |86 | + | |#86 |
|V | |V | ||
+ | |V key | ||
|- | |- | ||
− | |87 | + | |#87 |
|W | |W | ||
+ | |W key | ||
|- | |- | ||
− | |88 | + | |#88 |
|X | |X | ||
+ | |X key | ||
|- | |- | ||
− | |89 | + | |#89 |
|Y | |Y | ||
+ | |Y key | ||
|- | |- | ||
− | |90 | + | |#90 |
|Z | |Z | ||
+ | |Z key | ||
|- | |- | ||
− | |91 | + | |#91 |
− | |Left Win | + | |LeftWin |
+ | |Left Win key | ||
|- | |- | ||
− | |92 | + | |#92 |
− | |Right Win | + | |RightWin |
+ | |Right Win key | ||
|- | |- | ||
− | |93 | + | |#93 |
− | |Apps (Menu) | + | |AppsWin |
+ | |Apps (Menu) key | ||
|- | |- | ||
− | |95 | + | |#95 |
|Sleep | |Sleep | ||
+ | |Sleep key | ||
|- | |- | ||
− | |96 | + | |#96 |
− | |Numpad 0 | + | |Num0 |
+ | |Numpad 0 key <ref name="NumpadNumbers">Numbers on the numpad are only available when Num Lock is toggled on.</ref> | ||
|- | |- | ||
− | |97 | + | |#97 |
− | |Numpad 1 | + | |Num1 |
+ | |Numpad 1 key | ||
|- | |- | ||
− | |98 | + | |#98 |
− | |Numpad 2 | + | |Num2 |
+ | |Numpad 2 key | ||
|- | |- | ||
− | |99 | + | |#99 |
− | |Numpad 3 | + | |Num3 |
+ | |Numpad 3 key | ||
|- | |- | ||
− | |100 | + | |#100 |
− | |Numpad 4 | + | |Num4 |
+ | |Numpad 4 key | ||
|- | |- | ||
− | |101 | + | |#101 |
− | |Numpad 5 | + | |Num5 |
+ | |Numpad 5 key | ||
|- | |- | ||
− | |102 | + | |#102 |
− | |Numpad 6 | + | |Num6 |
+ | |Numpad 6 key | ||
|- | |- | ||
− | |103 | + | |#103 |
− | |Numpad 7 | + | |Num7 |
+ | |Numpad 7 key | ||
|- | |- | ||
− | |104 | + | |#104 |
− | |Numpad 8 | + | |Num8 |
+ | |Numpad 8 key | ||
|- | |- | ||
− | |105 | + | |#105 |
− | |Numpad 9 | + | |Num9 |
+ | |Numpad 9 key | ||
|- | |- | ||
− | |106 | + | |#106 |
− | |Multiply | + | |NumMultiply |
+ | |Numpad Multiply (*) key | ||
|- | |- | ||
− | |107 | + | |#107 |
− | |Add | + | |NumAdd |
+ | |Numpad Add (+) key | ||
|- | |- | ||
− | |108 | + | |#108 |
− | |Separator | + | |NumEnter |
+ | |Numpad Separator key <ref name="NumpadSeparator">This keycode probably doesn't work (or do anything) on Windows systems.</ref> | ||
|- | |- | ||
− | |109 | + | |#109 |
− | | | + | |NumSubtract |
+ | |Numpad Subtract (-) key | ||
|- | |- | ||
− | |110 | + | |#110 |
− | |Decimal | + | |NumDecimal |
+ | |Numpad Decimal (.) key | ||
|- | |- | ||
− | |111 | + | |#111 |
− | |Divide ( | + | |NumDivide |
+ | |Numpad Divide (/) key | ||
|- | |- | ||
− | |112 | + | |#112 |
|F1 | |F1 | ||
+ | |F1 key | ||
|- | |- | ||
− | |113 | + | |#113 |
|F2 | |F2 | ||
+ | |F2 key | ||
|- | |- | ||
− | |114 | + | |#114 |
|F3 | |F3 | ||
+ | |F3 key | ||
|- | |- | ||
− | |115 | + | |#115 |
|F4 | |F4 | ||
+ | |F4 key | ||
|- | |- | ||
− | |116 | + | |#116 |
|F5 | |F5 | ||
+ | |F5 key | ||
|- | |- | ||
− | |117 | + | |#117 |
|F6 | |F6 | ||
+ | |F6 key | ||
|- | |- | ||
− | |118 | + | |#118 |
|F7 | |F7 | ||
+ | |F7 key | ||
|- | |- | ||
− | |119 | + | |#119 |
|F8 | |F8 | ||
+ | |F8 key | ||
|- | |- | ||
− | |120 | + | |#120 |
|F9 | |F9 | ||
+ | |F9 key | ||
|- | |- | ||
− | |121 | + | |#121 |
|F10 | |F10 | ||
+ | |F10 key | ||
|- | |- | ||
− | |122 | + | |#122 |
|F11 | |F11 | ||
+ | |F11 key | ||
|- | |- | ||
− | |123 | + | |#123 |
|F12 | |F12 | ||
+ | |F12 key | ||
|- | |- | ||
− | |124 | + | |#124 |
|F13 | |F13 | ||
+ | |F13 key | ||
|- | |- | ||
− | |125 | + | |#125 |
|F14 | |F14 | ||
+ | |F14 key | ||
|- | |- | ||
− | |126 | + | |#126 |
|F15 | |F15 | ||
+ | |F15 key | ||
|- | |- | ||
− | |127 | + | |#127 |
|F16 | |F16 | ||
+ | |F16 key | ||
|- | |- | ||
− | |128 | + | |#128 |
|F17 | |F17 | ||
+ | |F17 key | ||
|- | |- | ||
− | |129 | + | |#129 |
|F18 | |F18 | ||
+ | |F18 key | ||
|- | |- | ||
− | |130 | + | |#130 |
|F19 | |F19 | ||
+ | |F19 key | ||
|- | |- | ||
− | |131 | + | |#131 |
|F20 | |F20 | ||
+ | |F20 key | ||
|- | |- | ||
− | |132 | + | |#132 |
|F21 | |F21 | ||
+ | |F21 key | ||
|- | |- | ||
− | |133 | + | |#133 |
|F22 | |F22 | ||
+ | |F22 key | ||
|- | |- | ||
− | |134 | + | |#134 |
|F23 | |F23 | ||
+ | |F23 key | ||
|- | |- | ||
− | |135 | + | |#135 |
|F24 | |F24 | ||
+ | |F24 key | ||
|- | |- | ||
− | |144 | + | |#144 |
− | |Num Lock | + | |NumLock |
+ | |Num Lock key | ||
|- | |- | ||
− | |145 | + | |#145 |
− | |Scroll Lock | + | |ScrollLock |
+ | |Scroll Lock key | ||
|- | |- | ||
− | |186 | + | |#186 |
− | |''';:''' | + | |OemColon |
+ | |''';:''' key <ref name="OemUSLayout">This description is valid for standard US QWERTY keyboards; it may be different on nationalized latinic keyboards.</ref> | ||
|- | |- | ||
− | |187 | + | |#187 |
− | |'''+=''' | + | |OemPlus |
+ | |'''+=''' key | ||
|- | |- | ||
− | |188 | + | |#188 |
− | |''',<''' | + | |OemComma |
+ | |''',<''' key | ||
|- | |- | ||
− | |189 | + | |#189 |
− | |'''-_''' | + | |OemMinus |
+ | |'''-_''' key | ||
|- | |- | ||
− | |190 | + | |#190 |
− | |'''.>''' | + | |OemPeriod |
+ | |'''.>''' key | ||
|- | |- | ||
− | |191 | + | |#191 |
− | |'''/?''' | + | |OemQuestionmark |
+ | |'''/?''' key <ref name="OemUSLayout" /> | ||
|- | |- | ||
− | |192 | + | |#192 |
− | |'''`~''' | + | |OemTilde |
+ | |'''`~''' key <ref name="OemUSLayout" /> | ||
|- | |- | ||
− | |219 | + | |#219 |
− | |'''[{''' | + | |OemLeftBracket |
+ | |'''<nowiki>[{</nowiki>''' key <ref name="OemUSLayout" /> | ||
|- | |- | ||
− | |220 | + | |#220 |
− | |'''|\''' | + | |OemVerticalBar |
+ | |'''<nowiki>|\</nowiki>''' key <ref name="OemUSLayout" /> | ||
|- | |- | ||
− | | | + | |#221 |
− | |'''' | + | |OemRightBracket |
+ | |'''<nowiki>]}</nowiki>''' key <ref name="OemUSLayout" /> | ||
|- | |- | ||
− | | | + | |#222 |
− | | | + | |OemQuote |
− | <nowiki> | + | |'''<nowiki>'"</nowiki>''' key <ref name="OemUSLayout" /> |
− | + | ||
|} | |} | ||
− | |||
<references/> | <references/> | ||
− | |||
− | |||
− |
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] |