Clear all incoming events.
| 1360 | |
| 1361 | // Clear all incoming events. |
| 1362 | void ImGuiIO::ClearEventsQueue() |
| 1363 | { |
| 1364 | IM_ASSERT(Ctx != NULL); |
| 1365 | ImGuiContext& g = *Ctx; |
| 1366 | g.InputEventsQueue.clear(); |
| 1367 | } |
| 1368 | |
| 1369 | // Clear current keyboard/mouse/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. |
| 1370 | void ImGuiIO::ClearInputKeys() |