| 161 | } |
| 162 | |
| 163 | static bool QueryMouseButtonToDo(Input& in, int index, bool reset, bool checkFocus) |
| 164 | { |
| 165 | if (checkFocus && in.gameFocusLost > 0) |
| 166 | return false; |
| 167 | if (index < 0 || index >= N_MOUSE_BUTTONS) |
| 168 | return false; |
| 169 | bool ret = in.mouse.buttonsToDo[index]; |
| 170 | if (reset) |
| 171 | in.mouse.buttonsToDo[index] = false; |
| 172 | return ret; |
| 173 | } |
| 174 | |
| 175 | static bool QueryDoubleTapMouseButtonToDo(Input& in, int index, bool reset, bool checkFocus) |
| 176 | { |
no outgoing calls
no test coverage detected