From 97fecd1b69e837a3e3300bb7209ef72131abe599 Mon Sep 17 00:00:00 2001 From: Lightning_A Date: Sat, 24 Apr 2021 14:33:50 -0600 Subject: Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods --- platform/uwp/os_uwp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'platform/uwp') 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 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); -- cgit v1.2.3