Add HAVE_LANGEXTRA ifdef

This commit is contained in:
twinaphex 2017-01-29 20:05:57 +01:00
parent c2c2521b12
commit 82b41265e2

View File

@ -238,10 +238,12 @@ unsigned menu_event(uint64_t input, uint64_t trigger_input)
menu_event_osk_append(menu_event_get_osk_ptr());
}
#ifdef HAVE_LANGEXTRA
if (trigger_input & (UINT64_C(1) << menu_cancel_btn))
{
input_keyboard_event(true, '\x7f', '\x7f', 0, RETRO_DEVICE_KEYBOARD);
}
#endif
/* send return key to close keyboard input window */
if (trigger_input & (UINT64_C(1) << RETRO_DEVICE_ID_JOYPAD_START))