winuser.h

  1. Akito

    Windows 10 GetKeyState weirding out? (Windows API)

    I am at the end of my wisdom and need some help. Here are the relevant parts of my code: proc isKeyPressed(virtKeyCode: int32, stateCode: SHORT): bool = if GetAsyncKeyState(virtKeyCode) and 0x8000 != 0: return true else: return false template checkKey(virtKeyCode: int32, keyValue...
Back
Top