MinecraftConsoles/Minecraft.Client/Common
MrTheShy 7ff958e124 Use last active input device to decide keyboard mode instead of connection state
The keyboard UI mode (on-screen virtual keyboard vs direct text input)
was determined by Win64_IsControllerConnected(), which checks if any
XInput controller is physically plugged in. This meant that even if
the player was actively using mouse and keyboard, the virtual keyboard
would still appear as long as a controller was connected.

Replace the connection check with g_KBMInput.IsKBMActive(), which
tracks the actual last-used input device based on per-frame input
detection. Now the keyboard mode is determined by what the player is
currently using, not what hardware happens to be plugged in.

Affected scenes: CreateWorldMenu (world naming) and LoadOrJoinMenu
(world renaming).
2026-03-05 22:04:34 +01:00
..
Audio Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
Colours Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
DLC Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
DummyTexturePack/res Initial commit 2026-03-01 12:16:08 +08:00
GameRules Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
Leaderboards feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
Media Fix DLCs textures and update logo in 720p (#517) 2026-03-05 15:12:50 +07:00
Network Trim newline characters from IP address (#600) 2026-03-05 14:27:08 -06:00
res feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
Telemetry Initial commit 2026-03-01 12:16:08 +08:00
Trial Initial commit 2026-03-01 12:16:08 +08:00
Tutorial Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
UI Use last active input device to decide keyboard mode instead of connection state 2026-03-05 22:04:34 +01:00
XUI Remove AUTO_VAR macro and _toString function (#592) 2026-03-06 02:11:18 +07:00
zlib Revert "Get rid of MSVC's __int64" 2026-03-02 17:39:35 +07:00
App_Defines.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
App_enums.h shift + click for quickmove (#278) 2026-03-03 23:27:23 +07:00
App_structs.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
BuildVer.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
C4JMemoryPool.h Initial commit 2026-03-01 12:16:08 +08:00
C4JMemoryPoolAllocator.h Initial commit 2026-03-01 12:16:08 +08:00
CommonMedia.sln Initial commit 2026-03-01 12:16:08 +08:00
CommonMedia.vcxproj Initial commit 2026-03-01 12:16:08 +08:00
CommonMedia.vcxproj.filters Initial commit 2026-03-01 12:16:08 +08:00
Console_Awards_enum.h Initial commit 2026-03-01 12:16:08 +08:00
Console_Debug_enum.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
Console_Utils.cpp Initial commit 2026-03-01 12:16:08 +08:00
ConsoleGameMode.cpp Optimize Path for Tutorial.h in ConsoleGameMode.cpp 2026-03-01 15:05:24 -07:00
ConsoleGameMode.h Optimize TutorialMode.h Filepath in ConsoleGameMode.h 2026-03-01 15:06:42 -07:00
Consoles_App.cpp Fix gamma slider via pixel shader #178 (#481) 2026-03-06 02:41:17 +07:00
Consoles_App.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
Minecraft_Macros.h Initial commit 2026-03-01 12:16:08 +08:00
PostProcesser.h Fix gamma slider via pixel shader #178 (#481) 2026-03-06 02:41:17 +07:00
Potion_Macros.h feat: TU19 (Dec 2014) Features & Content (#155) 2026-03-03 03:04:10 +08:00
xuiscene_base.h Initial commit 2026-03-01 12:16:08 +08:00