mirror of https://github.com/mgba-emu/mgba.git
Qt: Stop eating boolean action key events (fixes #2636)
This commit is contained in:
parent
5d1fdf3b24
commit
5183edc3c6
1
CHANGES
1
CHANGES
|
@ -7,6 +7,7 @@ Other fixes:
|
||||||
- Qt: Disable sync while running scripts from main thread (fixes mgba.io/i/2738)
|
- Qt: Disable sync while running scripts from main thread (fixes mgba.io/i/2738)
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Include wayland QPA in AppImage (fixes mgba.io/i/2796)
|
- Qt: Include wayland QPA in AppImage (fixes mgba.io/i/2796)
|
||||||
|
- Qt: Stop eating boolean action key events (fixes mgba.io/i/2636)
|
||||||
|
|
||||||
0.10.1: (2023-01-10)
|
0.10.1: (2023-01-10)
|
||||||
Emulation fixes:
|
Emulation fixes:
|
||||||
|
|
|
@ -149,7 +149,6 @@ bool ShortcutController::eventFilter(QObject*, QEvent* event) {
|
||||||
Action::BooleanFunction fn = item.value()->action()->booleanAction();
|
Action::BooleanFunction fn = item.value()->action()->booleanAction();
|
||||||
fn(event->type() == QEvent::KeyPress);
|
fn(event->type() == QEvent::KeyPress);
|
||||||
event->accept();
|
event->accept();
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (event->type() == GamepadButtonEvent::Down()) {
|
if (event->type() == GamepadButtonEvent::Down()) {
|
||||||
|
|
Loading…
Reference in New Issue