mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Handle empty spots more intelligently
This commit is contained in:
parent
4799e2e91b
commit
fa07068d04
@ -124,8 +124,13 @@ void VirtualKeyboard::select_next(int dx, int dy)
|
||||
|
||||
/* Skip the empty spots */
|
||||
if (key.name == NULL)
|
||||
{
|
||||
if (dy != 0) /* Look left */
|
||||
this->select_next(-1, 0);
|
||||
else
|
||||
this->select_next(dx, dy);
|
||||
}
|
||||
}
|
||||
|
||||
void VirtualKeyboard::toggle_shift()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user