Fix an OSK backspace issue

This commit is contained in:
Jean-André Santoni 2016-11-02 16:20:35 +01:00
parent a7ecf7615d
commit 54794d5368
1 changed files with 1 additions and 4 deletions

View File

@ -345,10 +345,7 @@ unsigned menu_event(uint64_t input, uint64_t trigger_input)
if (trigger_input & (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_B))
{
unsigned i;
for (i = 0; i < osk_last_codepoint_len; i++)
input_keyboard_event(true, '\x7f', '\x7f', 0, RETRO_DEVICE_KEYBOARD);
input_keyboard_event(true, '\x7f', '\x7f', 0, RETRO_DEVICE_KEYBOARD);
}
/* send return key to close keyboard input window */