mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 14:50:15 +02:00
UWP: Add support for supplementary Unicode characters input
Characters outside Basic Multilingual Plane (BMP) are coded as so called "surrogate pair" in two separate UTF-16 character events.
This commit is contained in:
committed by
Sam Lantinga
parent
7b628ea4d5
commit
9faa7977bd
@@ -724,7 +724,7 @@ void SDL_WinRTApp::OnAcceleratorKeyActivated(Windows::UI::Core::CoreDispatcher ^
|
||||
|
||||
void SDL_WinRTApp::OnCharacterReceived(Windows::UI::Core::CoreWindow ^ sender, Windows::UI::Core::CharacterReceivedEventArgs ^ args)
|
||||
{
|
||||
WINRT_ProcessCharacterReceivedEvent(args);
|
||||
WINRT_ProcessCharacterReceivedEvent(WINRT_GlobalSDLWindow, args);
|
||||
}
|
||||
|
||||
template <typename BackButtonEventArgs>
|
||||
|
||||
Reference in New Issue
Block a user