static bool device_OnEvent(Event ev) { if (ev.KeyPressedDown && ev.KeyCode == KeyCode.Escape) Exit = true; return false; }