Working perfectly, thank you for share :)
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).
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.
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.
Indeed, thanks for reminding, updated it here now
Updated to version 1.0.0.5:
*REDACTED. MISINFORMATION*
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 !
Wow, this program doesn't affect to chat? Perfectly!
(https://i.imgur.com/qDQeQMf.png)
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 ;)
Nice stuff, I've been looking for something like this :)
I CANT remap F8 for any other key Steps :/
[RemapKeys]
32=88,90
119=16
and shift (16) not working
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.
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?
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.
everything works fine now. dunno why. maybe reboot helped :)
Quote from: StepS on November 09, 2013, 08:03 PM
...
Hello StepS,
Mind if I ask a technical question? I'm just exploring and trying out keyboard hooking myself. Even though I can inspect the keys after setting up my hook function via SetWindowsHookExA I still can't seem to make modifications to the keys. WA still seems to get the original keys even when I manipulate wParam/lParam. I'm just curious how you worked around this.
Cheers.
Quote from: Malevol3nt1 on February 20, 2014, 02:30 PM
I'm just curious how you worked around this.
Nevermind, figured it out. I'm using SendInput and checking LLKHF_INJECTED beforehand to avoid infinite loops.
How do you detect whether the chat area is visible though? I mean the key bindings should be disabled while chatting. Currently I'm just using a separate key to toggle the bindings on or off for my wormkit plugin.
(https://i.imgur.com/qDQeQMf.png)
wkRemapKeys 1.2 has been released!
New:
- Doesn't affect chatting (yes, for real!)
- Added support for symbolic key names (i.e. "F8 = Ctrl"). No more cryptic numbers (but if you still need them, prefix them with #)! And you can use spaces in the ini file freely.
- Now compatible with W:A 3.7 and all newer versions.
- Module now works without additional DLLs.
- Various other improvements and fixes.
I remaped space to letters S & D. Program is nice, but after few rope flies - space get's numb! yeah.. numb! It wont react, and i lose balance, hit the floor - lose turn.
Tried another program "intes keychange" - works perfect but cannot figure out how to set 2 keys for enable/disable program, very annoying when it interupts me in chatting, or even worse - hosting games.
Don't want to play with autohotkey script anymore, someone said to me it's considered as a cheat..
I need a solution for this situation, some good ReMap program, anything?? :( as long as it's not cheating!
I have NumAdd remapped as backspace and it works fine until Im using a grenade then it reverts back to a plus button and changes the bounce. Anyway to fix this?
EDIT: shit xD
I have 'I' set to F2 and 'O' set to Enter and you know QWERTY keyboards, I and O are next to eachother.
What I do in Big RR/Tower is whenever i have >1 sec left, I finger-roll 'I' and 'O', which selects and throws a nana, giving me retreat time.
I don't use it for competitive, tho
Quote from: Rabbit on May 27, 2016, 04:19 AM
I have NumAdd remapped as backspace and it works fine until Im using a grenade then it reverts back to a plus button and changes the bounce. Anyway to fix this?
This is because your NumAdd key is still enabled (so is used whenever the game expects it to be used). If you Add "NumAdd = null", NumAdd will be disabled, and it will do the backflip even when grenades are selected.
Thank you, all working now ;D
Also I have arrows on Num1, 2, 3, 5. And when I hold shift left to walk backward nothing moves and if I hold right shift the worms moves forward and keeps moving forward when i release the keys. I have to use original arrows for it to work. I tried having Num1, 2, 3, 5 = null and that didn't help.
Any ideas for that problem?
Quote from: Rabbit on May 29, 2016, 06:35 AM
Also I have arrows on Num1, 2, 3, 5. And when I hold shift left to walk backward nothing moves and if I hold right shift the worms moves forward and keeps moving forward when i release the keys. I have to use original arrows for it to work. I tried having Num1, 2, 3, 5 = null and that didn't help.
Any ideas for that problem?
This is because the Shift key on the keyboard overrides the Num Lock enabled state (in all applications in Windows), so the game receives numlock-disabled inputs instead, when Shift is held down. You have a few options:
- Remap Shift to some other key and use that key instead (best).
Use Num8,4,5,6 instead; you only need to remap Down to Num5 and Clear (the NumLock-disabled Num5 button). Nevermind, this doesn't work.Remap the corresponding numlock-disabled buttons to the arrowkeys (worst). This is the worst solution because there's no built-in distinction of NumpadPageDown and PageDown, therefore you will be overriding Page Down globally, and will probably become unable to use the chat. Nevermind, doesn't work either, and produces even worse results
Thanks all fixed
Is there any possible way that this module is doing an extra space tap for me here and there, or is my brain just being silly??
After further testing I think its all in my head :-X
Quote from: Rabbit on June 02, 2016, 01:21 PM
Is there any possible way that this module is doing an extra space tap for me here and there, or is my brain just being silly??
After further testing I think its all in my head :-X
What do you have set as Space? Maybe you are hitting it by accident?
Quote from: TheMadCharles on June 02, 2016, 04:39 PM
Quote from: Rabbit on June 02, 2016, 01:21 PM
Is there any possible way that this module is doing an extra space tap for me here and there, or is my brain just being silly??
After further testing I think its all in my head :-X
What do you have set as Space? Maybe you are hitting it by accident?
I have G and B, yes I think I am knocking it and my kb doesn't seem the best.