private unsafe void OnKeyDown(object sender, KeyboardKeyEventArgs e) { ImGui.GetIO().KeysDown[(int)e.Key] = true; UpdateModifiers(e); }