Added CX_InputManager::clearAllEvents().