diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-21 21:56:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-21 21:56:01 +0200 |
commit | 25d59a5a1a30d0d7cc19de34f03d0d521cde5431 (patch) | |
tree | 55e42b43ab92ba2dec17513c68b15417a6e06c69 /platform/android/display_server_android.h | |
parent | bb2c0d3c3a410a7eff22fee286349eaa3a650778 (diff) | |
parent | 166103c759cbac8bafd0d389bca1ecbce348b4c9 (diff) |
Merge pull request #40398 from thebestnom/android_keyboard_modifiers_and_arrows
Android: Keyboard modifier and arrow key support for text edit
Diffstat (limited to 'platform/android/display_server_android.h')
-rw-r--r-- | platform/android/display_server_android.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/android/display_server_android.h b/platform/android/display_server_android.h index d64542df58..4cae52fa76 100644 --- a/platform/android/display_server_android.h +++ b/platform/android/display_server_android.h @@ -63,6 +63,11 @@ public: private: String rendering_driver; + bool alt_mem = false; + bool shift_mem = false; + bool control_mem = false; + bool meta_mem = false; + bool keep_screen_on; Vector<TouchPos> touch; @@ -84,6 +89,8 @@ private: static void _dispatch_input_events(const Ref<InputEvent> &p_event); + void _set_key_modifier_state(Ref<InputEventWithModifiers> ev); + public: static DisplayServerAndroid *get_singleton(); |