Wipe all event history
| 202 | |
| 203 | // Wipe all event history |
| 204 | void clearEvents() |
| 205 | { |
| 206 | size_t iSize = inputEvents.size(); |
| 207 | for (int i = 0; i < iSize; i++) |
| 208 | { |
| 209 | inputEvents[i].clear(); |
| 210 | } |
| 211 | inputEvents.clear(); |
| 212 | } |
| 213 | |
| 214 | void recordEvent(int action, KeyboardCode keyCode, bool isPress) |
| 215 | { |
no test coverage detected