[DisplayServer] Implement has_hardware_keyboard method for Android and iOS.

This commit is contained in:
bruvzg 2024-10-02 20:01:27 +03:00
parent 1917bc3454
commit 25f439c573
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
11 changed files with 56 additions and 1 deletions

View file

@ -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();