mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix gamepad event dispatching (fixes #1922)
This commit is contained in:
parent
6cbc1f20f4
commit
ce00cf7727
1
CHANGES
1
CHANGES
|
@ -9,6 +9,7 @@ Other fixes:
|
||||||
- Debugger: Close trace log when done tracing
|
- Debugger: Close trace log when done tracing
|
||||||
- Qt: Fix running proxied video if it gets pushed to the main thread
|
- Qt: Fix running proxied video if it gets pushed to the main thread
|
||||||
- Qt: Fix game display sometimes disappearing after closing load/save state screen
|
- Qt: Fix game display sometimes disappearing after closing load/save state screen
|
||||||
|
- Qt: Fix gamepad event dispatching (fixes mgba.io/i/1922)
|
||||||
- Wii: Fix crash on unloading irregularly sized GBA ROMs
|
- Wii: Fix crash on unloading irregularly sized GBA ROMs
|
||||||
|
|
||||||
0.8.4: (2020-10-29)
|
0.8.4: (2020-10-29)
|
||||||
|
|
|
@ -649,7 +649,7 @@ void InputController::sendGamepadEvent(QEvent* event) {
|
||||||
} else {
|
} else {
|
||||||
focusWidget = QApplication::focusWidget();
|
focusWidget = QApplication::focusWidget();
|
||||||
}
|
}
|
||||||
QApplication::sendEvent(focusWidget, event);
|
QApplication::postEvent(focusWidget, event, Qt::HighEventPriority);
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputController::postPendingEvent(GBAKey key) {
|
void InputController::postPendingEvent(GBAKey key) {
|
||||||
|
|
Loading…
Reference in New Issue