summaryrefslogtreecommitdiff
path: root/platform/uwp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-05-22 16:39:31 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-05-22 16:39:31 +0300
commit494c54b98cc148ac6f9c59b380e02483b57bc632 (patch)
treea3a58ce4dcdfbf7fd23f60783e39bb6dd4d3994d /platform/uwp
parent1cc8cc96cbbe5f2ba6614bed8cc69633f4c363d5 (diff)
[UWP] Add missing `get_scansym` argument.
Diffstat (limited to 'platform/uwp')
-rw-r--r--platform/uwp/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/app.cpp b/platform/uwp/app.cpp
index b7e4361831..9d6ff10483 100644
--- a/platform/uwp/app.cpp
+++ b/platform/uwp/app.cpp
@@ -383,7 +383,7 @@ void App::key_event(Windows::UI::Core::CoreWindow ^ sender, bool p_pressed, Wind
ke.type = OS_UWP::KeyEvent::MessageType::KEY_EVENT_MESSAGE;
ke.unicode = 0;
ke.keycode = KeyMappingWindows::get_keysym((unsigned int)key_args->VirtualKey);
- ke.physical_keycode = KeyMappingWindows::get_scansym((unsigned int)key_args->KeyStatus.ScanCode);
+ ke.physical_keycode = KeyMappingWindows::get_scansym((unsigned int)key_args->KeyStatus.ScanCode, key_args->KeyStatus.IsExtendedKey);
ke.echo = (!p_pressed && !key_args->KeyStatus.IsKeyReleased) || (p_pressed && key_args->KeyStatus.WasKeyDown);
} else {