diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-17 17:38:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 17:38:02 +0200 |
commit | 6c367f8e0d22ae5430d48dbbee9396345933e233 (patch) | |
tree | 6ceafa9ee3010dca7a485e716614628670609f9b /platform/uwp | |
parent | 2fcfc83da91ca6c2e4670d3cdf01ee27d65f667b (diff) | |
parent | 97fecd1b69e837a3e3300bb7209ef72131abe599 (diff) |
Merge pull request #48168 from LightningAA/control-to-ctrl-4.0
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/os_uwp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index 2314a392cc..435f829c9b 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -565,9 +565,9 @@ void OS_UWP::process_key_events() { Ref<InputEventKey> key_event; key_event.instance(); - key_event->set_alt(kev.alt); - key_event->set_shift(kev.shift); - key_event->set_control(kev.control); + key_event->set_alt_pressed(kev.alt); + key_event->set_shift_pressed(kev.shift); + key_event->set_ctrl_pressed(kev.control); key_event->set_echo(kev.echo); key_event->set_keycode(kev.keycode); key_event->set_physical_keycode(kev.physical_keycode); |