Autohotkey causes key jamming for no apparent reason

Ask gaming related questions
TnF
Posts: 3
Joined: 15 Sep 2018, 10:50

Autohotkey causes key jamming for no apparent reason

15 Sep 2018, 11:04

Hello guys. Running latest Autohotkey with this simple code i wrote:

Code: [Select all] [Download] GeSHi © Codebox Plus

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
LWin::LAlt
Ralt::LWin


This is so that i don't press the windows key accidentally on my laptop keyboard (small keys) and still allow me access to the windows key with since i have 2 alt keys. What i've noticed though is that it causes key jamming (in PUBG) specifically with the WASDEQ keys, probably because these are what i have to keep pressed down for a long time. Also i've noticed while having pressed the windows key (aka alt key after the script) the game rejects MOUSE3 input (the middle click scroll-wheel switch) which makes NO SENSE. It jams it completely! And i am not running it with the special logitech software (Logitech G502 mouse), only with the on-board profile of the mouse! I didn't do further troubleshooting because if i don't run the script i don't have the issues.

Also found this similar thread from 2010 but not much other than removing this line:

Code: [Select all] [Download] GeSHi © Codebox Plus

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.

https://autohotkey.com/boards/viewtopic.php?t=15986

Please help me!

PS. Before you ask keyboard has good n-key rollover, it is connected via PS/2 internally, not a prb if i don't use autohotkey
PS 2. Regarding the jammed keys, what i mean for example W was pressed but the game doesn't detect it, i have to release and re-press again
TnF
Posts: 3
Joined: 15 Sep 2018, 10:50

Re: Autohotkey causes key jamming for no apparent reason

17 Sep 2018, 00:33

No-one really?
Deleting this made no difference!

Code: [Select all] [Download] GeSHi © Codebox Plus

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
Onimuru
Posts: 14
Joined: 08 Sep 2018, 18:35
GitHub: Onimuru

Re: Autohotkey causes key jamming for no apparent reason

18 Sep 2018, 00:45

Not the answer you're looking for but if you straight up want to remap those keys, this is the easiest way to do it: https://keytweak.en.softonic.com/
TnF
Posts: 3
Joined: 15 Sep 2018, 10:50

Re: Autohotkey causes key jamming for no apparent reason

18 Sep 2018, 19:33

yeah, i've seen this program when i wanted to do this but it's not up to my needs. Autohotkey does what i want, it's just this issue

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 19 guests