Skip to content

Commit ac6eb4b

Browse files
committed
iOS: use native keyboard in search
1 parent 58f4d04 commit ac6eb4b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

menu/menu_driver.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8195,6 +8195,17 @@ bool menu_input_dialog_start_search(void)
81958195
input_keyboard_start_line(menu,
81968196
&input_st->keyboard_line,
81978197
menu_input_search_cb);
8198+
8199+
#ifdef HAVE_COCOATOUCH
8200+
/* Use iOS/tvOS native keyboard instead of custom on-screen keyboard */
8201+
ios_keyboard_start(
8202+
(char **)menu_st->input_dialog_keyboard_buffer,
8203+
&input_st->keyboard_line.size,
8204+
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SEARCH),
8205+
menu_input_search_cb,
8206+
menu);
8207+
#endif
8208+
81988209
/* While reading keyboard line input, we have to block all hotkeys. */
81998210
input_st->flags |= INP_FLAG_KB_MAPPING_BLOCKED;
82008211

0 commit comments

Comments
 (0)