mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
overlays/osk: Implement fallback for unknown keys
Note that those keys won't be passed to the cellOsk event hook callback
This commit is contained in:
parent
c214f45e14
commit
ad340c3007
7 changed files with 141 additions and 94 deletions
|
|
@ -104,7 +104,7 @@ void basic_keyboard_handler::keyPressEvent(QKeyEvent* keyEvent)
|
|||
|
||||
if (key >= 0)
|
||||
{
|
||||
Key(static_cast<u32>(key), true);
|
||||
Key(static_cast<u32>(key), true, keyEvent->text().toStdU32String());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ void basic_keyboard_handler::keyReleaseEvent(QKeyEvent* keyEvent)
|
|||
|
||||
if (key >= 0)
|
||||
{
|
||||
Key(static_cast<u32>(key), false);
|
||||
Key(static_cast<u32>(key), false, keyEvent->text().toStdU32String());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue