Clear all incoming events.
| 1791 | |
| 1792 | // Clear all incoming events. |
| 1793 | void ImGuiIO::ClearEventsQueue() |
| 1794 | { |
| 1795 | IM_ASSERT(Ctx != NULL); |
| 1796 | ImGuiContext& g = *Ctx; |
| 1797 | g.InputEventsQueue.clear(); |
| 1798 | } |
| 1799 | |
| 1800 | // Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. |
| 1801 | void ImGuiIO::ClearInputKeys() |