From 166103c759cbac8bafd0d389bca1ecbce348b4c9 Mon Sep 17 00:00:00 2001 From: thebestnom Date: Wed, 15 Jul 2020 02:47:24 +0300 Subject: Android: Keyboard modifier and arrow key support --- platform/android/display_server_android.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platform/android/display_server_android.h') 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 touch; @@ -84,6 +89,8 @@ private: static void _dispatch_input_events(const Ref &p_event); + void _set_key_modifier_state(Ref ev); + public: static DisplayServerAndroid *get_singleton(); -- cgit v1.2.3