diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-15 09:52:47 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-15 09:52:47 +0100 |
commit | 47a8ee8814fedaa89816612137f4469fb2318d93 (patch) | |
tree | cdac27b9c010c66af43cae664c278d058e0bc695 /platform/android/android_input_handler.h | |
parent | 0ddbd9bd2d0926a5acc79fd1a27b3a7445abd0c5 (diff) | |
parent | a322f3f5782252d6bec8f169cd6a93cbc7b47921 (diff) |
Merge pull request #73268 from bruvzg/key_mod
[InputEventKey] Avoid setting both key and modifier to the same value.
Diffstat (limited to 'platform/android/android_input_handler.h')
-rw-r--r-- | platform/android/android_input_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/android_input_handler.h b/platform/android/android_input_handler.h index a56b6aa6c4..2badd32636 100644 --- a/platform/android/android_input_handler.h +++ b/platform/android/android_input_handler.h @@ -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); |