mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-10 03:37:32 -03:00
Add check for backwards delete (#564)
This commit is contained in:
parent
5a143c7b4b
commit
4491560b32
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ void swkbd_inputStringChanged()
|
|||
|
||||
void swkbd_keyInput(uint32 keyCode)
|
||||
{
|
||||
if (keyCode == 8) // backspace
|
||||
if (keyCode == 8 || keyCode == 127) // backspace || backwards delete
|
||||
{
|
||||
if (swkbdInternalState->formStringLength > 0)
|
||||
swkbdInternalState->formStringLength--;
|
||||
|
|
Loading…
Reference in a new issue