summaryrefslogtreecommitdiffstats
path: root/platform/android/java_godot_io_wrapper.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-10-02 20:01:27 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-10-02 20:09:48 +0300
commit25f439c573eefbc7cff2ea92952c9c68f1f0744a (patch)
tree3ee3dec438a97926280f7d6c6f1d3621beb55545 /platform/android/java_godot_io_wrapper.h
parent1917bc3454e58fc56750b00e04aa25cb94d8d266 (diff)
downloadredot-engine-25f439c573eefbc7cff2ea92952c9c68f1f0744a.tar.gz
[DisplayServer] Implement has_hardware_keyboard method for Android and iOS.
Diffstat (limited to 'platform/android/java_godot_io_wrapper.h')
-rw-r--r--platform/android/java_godot_io_wrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/java_godot_io_wrapper.h b/platform/android/java_godot_io_wrapper.h
index c113a13040..0a372641cb 100644
--- a/platform/android/java_godot_io_wrapper.h
+++ b/platform/android/java_godot_io_wrapper.h
@@ -58,6 +58,7 @@ private:
jmethodID _get_unique_id = 0;
jmethodID _show_keyboard = 0;
jmethodID _hide_keyboard = 0;
+ jmethodID _has_hardware_keyboard = 0;
jmethodID _set_screen_orientation = 0;
jmethodID _get_screen_orientation = 0;
jmethodID _get_system_dir = 0;
@@ -80,6 +81,7 @@ public:
Rect2i get_display_safe_area();
String get_unique_id();
bool has_vk();
+ bool has_hardware_keyboard();
void show_vk(const String &p_existing, int p_type, int p_max_input_length, int p_cursor_start, int p_cursor_end);
void hide_vk();
int get_vk_height();