sys/windows: add GetKeyState functions

This commit is contained in:
hikari
2022-03-24 16:04:27 +02:00
parent 3e66eec735
commit 01181517dc

View File

@@ -108,6 +108,9 @@ foreign user32 {
BeginPaint :: proc(hWnd: HWND, lpPaint: ^PAINTSTRUCT) -> HDC ---
EndPaint :: proc(hWnd: HWND, lpPaint: ^PAINTSTRUCT) -> BOOL ---
GetKeyState :: proc(nVirtKey: c_int) -> SHORT ---
GetAsyncKeyState :: proc(vKey: c_int) -> SHORT ---
}
CreateWindowA :: #force_inline proc "stdcall" (