mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Qt: add missing key auto repeat checks
This commit is contained in:
parent
d3ff67ffb5
commit
35a380676e
7 changed files with 51 additions and 4 deletions
|
@ -149,6 +149,12 @@ void gs_frame::showEvent(QShowEvent *event)
|
|||
|
||||
void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
||||
{
|
||||
if (keyEvent->isAutoRepeat())
|
||||
{
|
||||
keyEvent->ignore();
|
||||
return;
|
||||
}
|
||||
|
||||
// NOTE: needs to be updated with keyboard_pad_handler::processKeyEvent
|
||||
|
||||
switch (keyEvent->key())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue