I just tested on two different windows pc's, just to make sure it wasnt my laptop that was the problem.
On my laptop it is very easy to reproduce it, on the desktop pc I need to give it some more tries to reproduce the problem.
It should be possible to reproduce it using the script below
What happens is that when pressing and releasing the "a" or "b" key at the exact same as pressing down the left or right shift key, then IsKeyDown will still be true until the key is pressed again.
Code: Select all
StartTimer(1)
Repeat
t1 = GetTimer(1)
If t1 > 200
If IsKeyDown("a") Then NPrint("a pressed")
If IsKeyDown("b") Then NPrint("b pressed")
ResetTimer(1)
EndIf
Forever