feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -230,7 +230,7 @@ void InputEventWithModifiers::set_modifiers_from_event(const InputEventWithModif
|
|||
}
|
||||
|
||||
BitField<KeyModifierMask> InputEventWithModifiers::get_modifiers_mask() const {
|
||||
BitField<KeyModifierMask> mask;
|
||||
BitField<KeyModifierMask> mask = {};
|
||||
if (is_ctrl_pressed()) {
|
||||
mask.set_flag(KeyModifierMask::CTRL);
|
||||
}
|
||||
|
|
@ -385,11 +385,11 @@ bool InputEventKey::is_echo() const {
|
|||
}
|
||||
|
||||
Key InputEventKey::get_keycode_with_modifiers() const {
|
||||
return keycode | (int64_t)get_modifiers_mask();
|
||||
return keycode | get_modifiers_mask();
|
||||
}
|
||||
|
||||
Key InputEventKey::get_physical_keycode_with_modifiers() const {
|
||||
return physical_keycode | (int64_t)get_modifiers_mask();
|
||||
return physical_keycode | get_modifiers_mask();
|
||||
}
|
||||
|
||||
Key InputEventKey::get_key_label_with_modifiers() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue