mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix gamepad event dispatching (fixes #1922)
This commit is contained in:
parent
9ae85bdccc
commit
d20b2e1e23
1
CHANGES
1
CHANGES
|
@ -61,6 +61,7 @@ Other fixes:
|
|||
- 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 cancelling pausing before the frame ends
|
||||
- Qt: Fix gamepad event dispatching (fixes mgba.io/i/1922)
|
||||
- SM83: Simplify register pair access on big endian
|
||||
- SM83: Disassemble STOP as one byte
|
||||
- Wii: Fix crash on unloading irregularly sized GBA ROMs
|
||||
|
|
|
@ -649,7 +649,7 @@ void InputController::sendGamepadEvent(QEvent* event) {
|
|||
} else {
|
||||
focusWidget = QApplication::focusWidget();
|
||||
}
|
||||
QApplication::sendEvent(focusWidget, event);
|
||||
QApplication::postEvent(focusWidget, event, Qt::HighEventPriority);
|
||||
}
|
||||
|
||||
void InputController::postPendingEvent(GBAKey key) {
|
||||
|
|
Loading…
Reference in New Issue