detect a keypress

Blitz3D Forums/Blitz3D Programming/detect a keypress

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.