diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-05-22 16:39:31 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-05-22 16:39:31 +0300 |
commit | 494c54b98cc148ac6f9c59b380e02483b57bc632 (patch) | |
tree | a3a58ce4dcdfbf7fd23f60783e39bb6dd4d3994d /platform/uwp | |
parent | 1cc8cc96cbbe5f2ba6614bed8cc69633f4c363d5 (diff) |
[UWP] Add missing `get_scansym` argument.
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/app.cpp | 2 |
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 { |