| 475 | } |
| 476 | |
| 477 | static void VirtualKeyboard_Close(void) { |
| 478 | /* TODO find a better way */ |
| 479 | if (KB_MarkDirty == VirtualKeyboard_MarkDirty2D) |
| 480 | VirtualKeyboard_Close2D(); |
| 481 | if (KB_MarkDirty == VirtualKeyboard_MarkDirty3D) |
| 482 | VirtualKeyboard_Close3D(); |
| 483 | |
| 484 | Event_Unregister_(&ControllerEvents.AxisUpdate, NULL, VirtualKeyboard_PadAxis); |
| 485 | PointerHooks.DownHook = NULL; |
| 486 | PointerHooks.MoveHook = NULL; |
| 487 | PointerHooks.UpHook = NULL; |
| 488 | Window_Main.SoftKeyboardFocus = false; |
| 489 | |
| 490 | KB_MarkDirty = NULL; |
| 491 | kb_needsHook = false; |
| 492 | Input.DownHook = NULL; |
| 493 | |
| 494 | DisplayInfo.ShowingSoftKeyboard = false; |
| 495 | } |
no test coverage detected