You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user