Clear all incoming events.
| 1771 | |
| 1772 | // Clear all incoming events. |
| 1773 | void ImGuiIO::ClearEventsQueue() |
| 1774 | { |
| 1775 | IM_ASSERT(Ctx != NULL); |
| 1776 | ImGuiContext& g = *Ctx; |
| 1777 | g.InputEventsQueue.clear(); |
| 1778 | } |
| 1779 | |
| 1780 | // Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. |
| 1781 | void ImGuiIO::ClearInputKeys() |