MCPcopy Create free account
hub / github.com/WheretIB/nullc / GetKeyboardState

Function GetKeyboardState

NULLC/includes/io.cpp:140–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 void GetKeyboardState(NULLCArray arr)
141 {
142#if !defined(_MSC_VER)
143 nullcThrowError("GetKeyboardState: supported only under Windows");
144#else
145 if(arr.len < 256)
146 nullcThrowError("GetKeyboardState requires array with 256 or more elements");
147 ::GetKeyboardState((unsigned char*)arr.ptr);
148#endif
149 }
150
151 void GetMouseState(int* x, int* y)
152 {

Callers 3

IsPressedFunction · 0.70
IsToggledFunction · 0.70
TestSpeed.cppFile · 0.50

Calls 1

nullcThrowErrorFunction · 0.50

Tested by

no test coverage detected