From 3ba9245138b6b6c9fe4450ece8d91a893b8a3e1f Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 23 Jun 2019 21:46:47 +0100 Subject: 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. --- backends/platform/ios7/ios7_osys_events.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '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 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; } -- cgit v1.2.3