diff options
author | Thierry Crozat | 2019-06-23 21:46:47 +0100 |
---|---|---|
committer | Thierry Crozat | 2019-06-30 12:36:43 +0100 |
commit | 3ba9245138b6b6c9fe4450ece8d91a893b8a3e1f (patch) | |
tree | 701afcad5630d5eecbcefd2fbcec14a174c7739c /backends/platform/ios7/ios7_osys_events.cpp | |
parent | d6a1248a160d2cd55c274cf9bb106e7273d9f003 (diff) | |
download | scummvm-rg350-3ba9245138b6b6c9fe4450ece8d91a893b8a3e1f.tar.gz scummvm-rg350-3ba9245138b6b6c9fe4450ece8d91a893b8a3e1f.tar.bz2 scummvm-rg350-3ba9245138b6b6c9fe4450ece8d91a893b8a3e1f.zip |
IOS7: Add input accessory view to virtual keyboard
This adds buttons for some keys that are not present on the iOS
keyboard, such as the function and arrow keys, as well as a GMM
key.
Diffstat (limited to 'backends/platform/ios7/ios7_osys_events.cpp')
-rw-r--r-- | backends/platform/ios7/ios7_osys_events.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/ios7/ios7_osys_events.cpp b/backends/platform/ios7/ios7_osys_events.cpp index da467cf5d6..9924264cd8 100644 --- a/backends/platform/ios7/ios7_osys_events.cpp +++ b/backends/platform/ios7/ios7_osys_events.cpp @@ -106,6 +106,12 @@ bool OSystem_iOS7::pollEvent(Common::Event &event) { return false; break; + case kInputMainMenu: + event.type = Common::EVENT_MAINMENU; + _queuedInputEvent.type = Common::EVENT_INVALID; + _queuedEventTime = getMillis() + kQueuedInputEventDelay; + break; + default: break; } |