mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Merge pull request #1654 from ftphikari/master
sys/windows: add GetKeyState functions
This commit is contained in:
@@ -108,6 +108,9 @@ foreign user32 {
|
|||||||
|
|
||||||
BeginPaint :: proc(hWnd: HWND, lpPaint: ^PAINTSTRUCT) -> HDC ---
|
BeginPaint :: proc(hWnd: HWND, lpPaint: ^PAINTSTRUCT) -> HDC ---
|
||||||
EndPaint :: proc(hWnd: HWND, lpPaint: ^PAINTSTRUCT) -> BOOL ---
|
EndPaint :: proc(hWnd: HWND, lpPaint: ^PAINTSTRUCT) -> BOOL ---
|
||||||
|
|
||||||
|
GetKeyState :: proc(nVirtKey: c_int) -> SHORT ---
|
||||||
|
GetAsyncKeyState :: proc(vKey: c_int) -> SHORT ---
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateWindowA :: #force_inline proc "stdcall" (
|
CreateWindowA :: #force_inline proc "stdcall" (
|
||||||
|
|||||||
Reference in New Issue
Block a user