The Ultimate Site of Worms Armageddon

One-Boards => Files Comments => Topic started by: Tomi on July 05, 2015, 06:20 PM

Title: File #820, W:A Key Remapper
Post by: Tomi on July 05, 2015, 06:20 PM
I just tested it for 1-2 minutes, so it may be buggy :D And I didn't test it on Win XP. In theory it should work there too.
Title: Re: File #820, W:A Key Remapper
Post by: StepS on July 06, 2015, 03:44 PM
Some things I noticed:
- It doesn't work when you run the game with D3D9Wnd. How does it look for the game?
- The "Exit remapper" option always appears in the bottom right of the screen, regardless of the actual placement of the tray button
- It doesn't check against blocking keyup/keydown events (e.g. to prevent pressing a second space while the first space is still held) except for only one time, beaten by an extra KEYUP, which is forbidden on TUS.

While it might be a good idea, it will never be integrated with the game as much as RemapKeys does it. RemapKeys hooks into the game's own key-processing code and augments it, which provides sync (unlike all external apps which are asynchronous, and if there's some lag in the system, there might be severe delays), and follows the game's behavior: for example, if you remap Space to Tab, then Tab will work as a Space when there's no worm to select, and will still work as Tab when in worm-selection mode (thanks to latiOs for the tip), as well as proper chat detection (no need for the convoluted PageUp/PageDown listening: the game tells us everything). It will not be possible to (easily) implement anything like this in an external application, you'd have to inject something into the game anyway.
If you're having any issues with the RemapKeys module, just ask me, because I'm quite sure you didn't correctly set it up.
Title: Re: File #820, W:A Key Remapper
Post by: Tomi on July 08, 2015, 08:41 AM
Hi! Thx for your feedback!

- I fixed the problem with d3d9wnd: I added a checkbox for users who use that way to play.
- And I modified the tool not to allow pressing space again if one is pressed already.

I know btw how that remapper works, but it didn't work for me. And other remappers wasn't working either, so I made this for MYSELF. And I just shared it with the community. Nobody have to use this ^^ But I will, coz I am lazy to find key names for keyremapper, this is easier to setup and this is mine, haha :D And I already win some clanners with it, so for me that delay is unnoticable. And as I said, wormkit keyremapper didn't work for me, since I use windows key to rope.


Btw if somebody downloaded the first version, then please update the files, don't be cheaters xD