mirror of https://github.com/cemu-project/Cemu.git
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)
|
void swkbd_keyInput(uint32 keyCode)
|
||||||
{
|
{
|
||||||
if (keyCode == 8) // backspace
|
if (keyCode == 8 || keyCode == 127) // backspace || backwards delete
|
||||||
{
|
{
|
||||||
if (swkbdInternalState->formStringLength > 0)
|
if (swkbdInternalState->formStringLength > 0)
|
||||||
swkbdInternalState->formStringLength--;
|
swkbdInternalState->formStringLength--;
|
||||||
|
|
Loading…
Reference in New Issue