The Ultimate Site of Worms Armageddon

Worms: Armageddon => Tech Support => Topic started by: aik on November 25, 2015, 10:12 PM

Title: mapped Win-Key to Enter - still opens Startmenu (wkRemapKeys)
Post by: aik on November 25, 2015, 10:12 PM
Ahoi!

I like to use the left windows-key as enter – so I maped it with wkRemapKeys
Code: [Select]
Enter = LeftWin, EnterWhen I press it in order to fire a weapon from rope, the weapon gets fired – but ~0.3 sec later the game gets minimized and startmenu opens.

For now I maped the key via change of scancode map, but would be glad for solution with wkRemapKeys, as I don't whant to use the left win-key as enter all the time.
Title: Re: mapped Win-Key to Enter - still opens Startmenu (wkRemapKeys)
Post by: StepS on November 26, 2015, 07:52 PM
wkRemapKeys doesn't perform low-level keyboard hooks, i.e. it doesn't take precedence before the key presses that are intercepted by the system such as the Windows key. In fact, it doesn't hook keyboard input at all; it simply redirects the game's code to say that different keys were pressed in some occasions. The system is still aware of the original key. Therefore that key has to be either hard-remapped like you said, or disabled in the system. Also note that key combinations such as Ctrl+Alt+Delete can not be blocked by any program, no matter how low-level the hook is.
Title: Re: mapped Win-Key to Enter - still opens Startmenu (wkRemapKeys)
Post by: aik on November 26, 2015, 09:38 PM
So no solution possible with wkRemapKeys.

Hope my scancode map change isn't considered cheating (as l-win acts exactly like enter)?
Title: Re: mapped Win-Key to Enter - still opens Startmenu (wkRemapKeys)
Post by: Husk on November 26, 2015, 10:12 PM
[insert drumstick's signature]

xD