mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-12 10:56:45 +00:00
Make the OSK go left/right like SNES/etc. ones.
This commit is contained in:
parent
bfcf6e3aca
commit
7c35b145ea
@ -183,10 +183,14 @@ void PSPOskDialog::Update()
|
||||
else if (IsButtonPressed(CTRL_LEFT))
|
||||
{
|
||||
selectedChar--;
|
||||
if (((selectedChar + KEYSPERROW) % KEYSPERROW) == KEYSPERROW - 1)
|
||||
selectedChar += KEYSPERROW;
|
||||
}
|
||||
else if (IsButtonPressed(CTRL_RIGHT))
|
||||
{
|
||||
selectedChar++;
|
||||
if ((selectedChar % KEYSPERROW) == 0)
|
||||
selectedChar -= KEYSPERROW;
|
||||
}
|
||||
|
||||
selectedChar = (selectedChar + NUMBEROFVALIDCHARS) % NUMBEROFVALIDCHARS;
|
||||
|
Loading…
Reference in New Issue
Block a user