Clear all incoming events.
| 1745 | |
| 1746 | // Clear all incoming events. |
| 1747 | void ImGuiIO::ClearEventsQueue() |
| 1748 | { |
| 1749 | IM_ASSERT(Ctx != NULL); |
| 1750 | ImGuiContext& g = *Ctx; |
| 1751 | g.InputEventsQueue.clear(); |
| 1752 | } |
| 1753 | |
| 1754 | // Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. |
| 1755 | void ImGuiIO::ClearInputKeys() |