You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[InputEventKey] Avoid setting both key and modifier to the same value.
This commit is contained in:
@@ -76,7 +76,7 @@ private:
|
||||
MouseEventInfo mouse_event_info;
|
||||
Point2 hover_prev_pos; // needed to calculate the relative position on hover events
|
||||
|
||||
void _set_key_modifier_state(Ref<InputEventWithModifiers> ev);
|
||||
void _set_key_modifier_state(Ref<InputEventWithModifiers> ev, Key p_keycode);
|
||||
|
||||
static MouseButton _button_index_from_mask(BitField<MouseButtonMask> button_mask);
|
||||
static BitField<MouseButtonMask> _android_button_mask_to_godot_button_mask(int android_button_mask);
|
||||
|
||||
Reference in New Issue
Block a user