English
Search
Main Menu
Files

RemapKeys 1.2.1

File #519, Viewed 11007 Time(s)

Basic Information
File rate
5 / 5
Total Members Voted: 3
Name: RemapKeys 1.2.1
Type: Program
Submitted by:
Original author(s): /

Click to download: (Downloaded 1154 time(s))
wkRemapKeys_1.2.1.zip

Downloaded 1154 time(s).

Time: September 28, 2013, 09:30 PM
Description:
This WormKit module allows you to change bindings of any keys on the keyboard.

Main features: works only with W:A during the game, doesn't affect chatting (completely as of 1.2.0.0).

An example is written in the ini file:
Quote[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.
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 by the link below to know about possible names and codes.

Key names and codes

0 Members and 1 Guest are viewing this topic.

Triad

Working perfectly, thank you for share :)



BrunoReX

Thanks for updating this, StepS.

It shouldn't affect chat in the channels/lobby or the in-game chat?
If it's not supposed to affect in-game chat, it may not be working right.

Take this config to make WASD work as the arrow keys:
Quote[RemapKeys]
37=37,65
38=38,87
39=39,68
40=40,83

When you type A in the in game chat, the cursor types the letter and goes to the left side (and to the right side for D); to make a question mark in my keyboard, I need to press AltGr+W, that makes the chat window go up, and produces a question mark (Alt(Gr)+S also makes the chat window go down).

StepS

Quote from: BrunoReX on November 09, 2013, 06:00 PM
Thanks for updating this, StepS.

It shouldn't affect chat in the channels/lobby or the in-game chat?
If it's not supposed to affect in-game chat, it may not be working right.

Take this config to make WASD work as the arrow keys:
Quote[RemapKeys]
37=37,65
38=38,87
39=39,68
40=40,83

When you type A in the in game chat, the cursor types the letter and goes to the left side (and to the right side for D); to make a question mark in my keyboard, I need to press AltGr+W, that makes the chat window go up, and produces a question mark (Alt(Gr)+S also makes the chat window go down).

arrow keys ≠ typing text keys. this is the default behavior of the game.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Garf

#3
Trying to use this, I get an error - can't load wkremapkeys.dll - error code 0x0..07e.

Edit: Figured that this is due to the madchook.dll missing from this archive. The one over on worms2d.info has the missing dll. Adding it and things work fine.

StepS

Indeed, thanks for reminding, updated it here now
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

StepS

#5
Updated to version 1.0.0.5:
*REDACTED. MISINFORMATION*
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

zippeurfou

Quote from: StepS on February 12, 2014, 03:20 PM
Updated to version 1.0.0.5: this update will be very important to ropers (who use multiple spacebars), as I have modified the way in which presscheck is done. Previously the check was very aggressive and dropped the excess keypress forever even if you later released the original key. It is now accomplished as it should have been, waiting for all mapkeys except the target one to be released then allowing the press to go through. This is also how it works on USB keyboards with two physical spacebars.
awesome dude !

Maciej

Wow, this program doesn't affect to chat? Perfectly!

Masta

#8

Maciej

Quote from: Masta on February 12, 2014, 10:31 PM
Quote from: Maciej on February 12, 2014, 09:50 PM
Wow, this program doesn't affect to chat? Perfectly!

it almost doesn't affect the chat. f-keys are still bugged, that's why i don't use this module.
what i mean by bugged is: if you remap let's say f1 to w, and press "w" in the chat it will also press f1, and thus private message to whoever is on f1, which is quite annoying.

Hm, I use only z and x as spaces, don't remap F keys, so it shouldn't disturb me ;)

Rabbzz

Nice stuff, I've been looking for something like this :)

Hussar

I CANT remap F8 for any other key Steps :/

[RemapKeys]
32=88,90
119=16


and shift (16) not working

StepS

Quote from: Berria on February 13, 2014, 08:21 AM
I CANT remap F8 for any other key Steps :/

[RemapKeys]
32=88,90
119=16


and shift (16) not working

it works for me. Also I noticed that you don't keep the original keys. If you want to preserve both the space and F8, you can do this:

Quote[RemapKeys]
32=32,88,90
119=119,16

are you using any other remapping programs that could possibly modify the default Shift keycode? Does this only happen with one shift button, or with all (Left/Right Shift)? I think it's possible to differentiate them by adding their mapping manually, which I'll do in the next update maybe.
Does remapping F8 to any other key work?

Quote from: Masta on February 12, 2014, 10:31 PMit almost doesn't affect the chat. f-keys are still bugged, that's why i don't use this module.
what i mean by bugged is: if you remap let's say f1 to w, and press "w" in the chat it will also press f1, and thus private message to whoever is on f1, which is quite annoying.

this is true, but this is how the game was designed! This could be overcome in future but the module will not be as simple anymore then :)
I'll let you know if I find something related to this.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]

Maciej

#13
ekhm, Steps... it works for rope race perfectly, but I tried to play bng, and all shots were suicides... I try to keep space pressed to get power but with this module it's not possible. Granades expode on me. It reads my press like one fast click even if I keep it pressed, what's wrong?

StepS

#14
Quote from: Maciej on February 13, 2014, 05:05 PM
ekhm, Steps... it works for rope race perfectly, but I tried to play bng, and all shots were suicides... I try to keep space pressed to get power but with this module it's not possible. Granades expode on me. It reads my press like one fast click even if I keep it pressed, what's wrong?

hmm, confirmed. Crap, well this is what you get when you try too hard to prevent the so-called double-press cheat...
Thanks, I'll try to resolve it ASAP.

UPDATE: thanks for your patience, version 1.0.0.6 has been released. Accidentally used "<=" instead of "==". Everyone is advised to update!
Note: the above described issue only affected version 1.0.0.5 (released yesterday), thanks to Maciej for discovering it.
Dec 30 2013 23:59:44 <StepS> windowed mode isn't the only thing you need about frontend
Dec 30 2013 23:59:49 <StepS> you need it to be actually bigger
Dec 31 2013 00:00:13 <StepS> it actually is very small on my 15-inch full HD screen
Dec 31 2013 00:00:25 <StepS> while running at 640x480 or stretched mode makes it fuzzy
Dec 31 2013 00:00:44 <StepS> this problem has been around since the Worms Armageddon's release and no one has even tried to beat it
[...]