| 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 | { |
no test coverage detected