no, you have to check the values 0-255, just as in Jeppe's example. So the scancode should be passed as a parameter.
The difference with keydown() is, that getasynckeystate returns all keypresses even when the application has no focus.
The difference with keydown() is, that getasynckeystate returns all keypresses even when the application has no focus.