| 106 | } |
| 107 | |
| 108 | void GetKeyboardState(NULLCArray<char > state, void* unused) |
| 109 | { |
| 110 | #if !defined(_WIN32) |
| 111 | nullcThrowError("GetKeyboardState: supported only under Windows"); |
| 112 | #else |
| 113 | if(state.size < 256) |
| 114 | nullcThrowError("GetKeyboardState requires array with 256 or more elements"); |
| 115 | ::GetKeyboardState((unsigned char*)state.ptr); |
| 116 | #endif |
| 117 | } |
| 118 | |
| 119 | void GetMouseState(int * x, int * y, void* unused) |
| 120 | { |
nothing calls this directly
no test coverage detected