Răsfoiți Sursa

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

Add GetKeyboardState to user32
gingerBill 2 ani în urmă
părinte
comite
978568684c
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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 ---
 	GetKeyState :: proc(nVirtKey: c_int) -> SHORT ---
 	GetAsyncKeyState :: proc(vKey: c_int) -> SHORT ---
 	GetAsyncKeyState :: proc(vKey: c_int) -> SHORT ---
+	
+	GetKeyboardState :: proc(lpKeyState: PBYTE) -> BOOL ---
 
 
 	MapVirtualKeyW :: proc(uCode: UINT, uMapType: UINT) -> UINT ---
 	MapVirtualKeyW :: proc(uCode: UINT, uMapType: UINT) -> UINT ---