mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
fix search box in menu
This commit is contained in:
parent
1e212b4248
commit
0ce1fa7751
@ -246,6 +246,14 @@ static EM_BOOL rwebinput_input_cb(int event_type,
|
||||
strnlen(key_event->code, sizeof(key_event->code)));
|
||||
translated_keycode = input_keymaps_translate_keysym_to_rk(keycode);
|
||||
|
||||
if (translated_keycode == RETROK_BACKSPACE)
|
||||
character = '\b';
|
||||
else if (translated_keycode == RETROK_RETURN ||
|
||||
translated_keycode == RETROK_KP_ENTER)
|
||||
character = '\n';
|
||||
else if (translated_keycode == RETROK_TAB)
|
||||
character = '\t';
|
||||
|
||||
input_keyboard_event(keydown, translated_keycode, character, mod,
|
||||
RETRO_DEVICE_KEYBOARD);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user