mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
IPHONE: Change F5 (menu) gesture to open up the GMM.
Thanks to tsoliman for this patch.
This commit is contained in:
parent
fd40d1b192
commit
ffaa8612c3
3
NEWS
3
NEWS
@ -25,6 +25,9 @@ For a more comprehensive changelog of the latest experimental code, see:
|
||||
- Added support for the Macintosh version of SPY Fox in Hold the Mustard.
|
||||
- Added a difficulty selection dialog for Loom FM-TOWNS.
|
||||
|
||||
iPhone port:
|
||||
- Changed "F5 (menu)" gesture to open up the global main menu instead.
|
||||
|
||||
Windows port:
|
||||
- Changed default savegames location for Windows NT4/2000/XP/Vista/7.
|
||||
(The migration batch file can be used to copy savegames from the old
|
||||
|
@ -319,12 +319,9 @@ bool OSystem_IPHONE::handleEvent_mouseSecondDragged(Common::Event &event, int x,
|
||||
|
||||
if (absX < kMaxDeviation && vecY >= kNeededLength) {
|
||||
// Swipe down
|
||||
event.type = Common::EVENT_KEYDOWN;
|
||||
_queuedInputEvent.type = Common::EVENT_KEYUP;
|
||||
event.type = Common::EVENT_MAINMENU;
|
||||
_queuedInputEvent.type = Common::EVENT_INVALID;
|
||||
|
||||
event.kbd.flags = _queuedInputEvent.kbd.flags = 0;
|
||||
event.kbd.keycode = _queuedInputEvent.kbd.keycode = Common::KEYCODE_F5;
|
||||
event.kbd.ascii = _queuedInputEvent.kbd.ascii = Common::ASCII_F5;
|
||||
_queuedEventTime = getMillis() + kQueuedInputEventDelay;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user