MinecraftConsoles/Minecraft.Client/Common
MrTheShy 9ec08e0af8 Sync keyboard text buffer from Flash before processing physical input
The native keyboard scene maintained a separate C++ buffer
(m_win64TextBuffer) for physical keyboard input, which was pushed
to the Flash text field via setLabel(). However, when the user typed
with the on-screen controller buttons, Flash updated its text field
directly through ActionScript without updating the C++ buffer.

This caused a desync: switching back to the physical keyboard would
overwrite any text entered via controller, since m_win64TextBuffer
still held the old value before the controller edits.

Fix: read the current Flash text field into m_win64TextBuffer at the
start of each tick(), before consuming new physical keyboard chars.
This ensures both input methods always operate on the same state.
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 Sync keyboard text buffer from Flash before processing physical input 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