mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-24 01:08:57 +02:00
keyboard fixes (#3865)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3865 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
This commit is contained in:
parent
860acb4faf
commit
838cc926f6
3 changed files with 93 additions and 0 deletions
|
|
@ -243,6 +243,9 @@ void AndroidKeyboard::SubmitInlineKeyboardInput(int key_code) {
|
|||
static_cast<s32>(m_current_text.size()));
|
||||
break;
|
||||
case KEYCODE_DEL:
|
||||
if (m_current_text.empty()) {
|
||||
return;
|
||||
}
|
||||
m_current_text.pop_back();
|
||||
submit_inline_callback(Service::AM::Frontend::SwkbdReplyType::ChangedString, m_current_text,
|
||||
static_cast<int>(m_current_text.size()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue