Browse Source

Merge pull request #2295 from matias-eduardo/patch-1

Add GetKeyboardState to user32
gingerBill 2 years ago
parent
commit
978568684c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/sys/windows/user32.odin

+ 2 - 0
core/sys/windows/user32.odin

@@ -123,6 +123,8 @@ foreign user32 {
 
 	GetKeyState :: proc(nVirtKey: c_int) -> SHORT ---
 	GetAsyncKeyState :: proc(vKey: c_int) -> SHORT ---
+	
+	GetKeyboardState :: proc(lpKeyState: PBYTE) -> BOOL ---
 
 	MapVirtualKeyW :: proc(uCode: UINT, uMapType: UINT) -> UINT ---