[Scummvm-git-logs] scummvm branch-2-7 -> f2b9d4e9b6bf4246b8c8a381734f3fb2cbf10e38
lotharsm
noreply at scummvm.org
Fri Feb 10 08:36:00 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f2b9d4e9b6 IOS7: Add missing break to kInputJoystickButtonUp
Commit: f2b9d4e9b6bf4246b8c8a381734f3fb2cbf10e38
https://github.com/scummvm/scummvm/commit/f2b9d4e9b6bf4246b8c8a381734f3fb2cbf10e38
Author: Lars Sundström (l.sundstrom at gmail.com)
Date: 2023-02-10T09:35:41+01:00
Commit Message:
IOS7: Add missing break to kInputJoystickButtonUp
Joystick button up events was not sent to the EventManager due to a
missing break in the kInputJoystickButtonUp case. This caused button
presses in the launcher and dialogs not to be triggered.
Adding the break enables use of joystick buttons in ScummVM GUIs.
Changed paths:
backends/platform/ios7/ios7_osys_events.cpp
diff --git a/backends/platform/ios7/ios7_osys_events.cpp b/backends/platform/ios7/ios7_osys_events.cpp
index 66b15a390b5..290a84b63e7 100644
--- a/backends/platform/ios7/ios7_osys_events.cpp
+++ b/backends/platform/ios7/ios7_osys_events.cpp
@@ -137,6 +137,7 @@ bool OSystem_iOS7::pollEvent(Common::Event &event) {
case kInputJoystickButtonUp:
event.type = Common::EVENT_JOYBUTTON_UP;
event.joystick.button = internalEvent.value1;
+ break;
case kInputChanged:
event.type = Common::EVENT_INPUT_CHANGED;
More information about the Scummvm-git-logs
mailing list