mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 00:59:18 +01:00
Add check for backwards delete (#564)
This commit is contained in:
parent
5a143c7b4b
commit
4491560b32
@ -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 New Issue
Block a user