Added io.ConfigNavSwapGamepadButtons to swap Activate/Cancel (A<>B) buttons, to match the typical "Nintendo/Japanese consoles" button layout when using Gamepad navigation. (#787, #5723)

This commit is contained in:
ocornut
2024-07-26 14:07:29 +02:00
parent 3f9a90e2a3
commit b3ba6b3095
4 changed files with 6 additions and 2 deletions

View File

@@ -1376,6 +1376,7 @@ ImGuiIO::ImGuiIO()
#else
ConfigMacOSXBehaviors = false;
#endif
ConfigNavSwapGamepadButtons = false;
ConfigInputTrickleEventQueue = true;
ConfigInputTextCursorBlink = true;
ConfigInputTextEnterKeepActive = false;