scummvm/backends/platform/ios7
Lars Sundström c3513a151e IOS7: Add Mouse support using GameController framework
Add support for mouses using the GameController framework. This requires
iOS 14 and up. The trackpad on the magic keyboard to iPads is connected
as a mouse and of course other connected mouses.

The mouse movements triggers calls to the mouseMovedHandler code
block. The calls delivers delta movements on the X and Y axis from the
last pointer position. It doesn't keep track on where the pointer is in
the view. That's where pointerPosition property in the iPhoneView comes
into place.
2022-08-08 21:08:56 +01:00
..
ios7_app_delegate.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_app_delegate.mm ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_common.h OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
ios7_game_controller.h IOS7: Add GameController base class 2022-08-08 21:08:56 +01:00
ios7_game_controller.mm IOS7: Add GameController base class 2022-08-08 21:08:56 +01:00
ios7_keyboard.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_keyboard.mm ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_main.mm ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_mouse_controller.h IOS7: Add Mouse support using GameController framework 2022-08-08 21:08:56 +01:00
ios7_mouse_controller.mm IOS7: Add Mouse support using GameController framework 2022-08-08 21:08:56 +01:00
ios7_osys_events.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_osys_main.cpp OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
ios7_osys_main.h OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
ios7_osys_misc.mm ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_osys_sound.cpp ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_osys_video.mm IOS: Fixed compiler warnings 2022-03-06 09:19:54 +01:00
ios7_scummvm_view_controller.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
ios7_scummvm_view_controller.mm IOS7: Set view controller's preference to lock the pointer 2022-08-08 21:08:56 +01:00
ios7_touch_controller.h IOS7: Factor out touch pointer handling to TouchController class 2022-08-08 21:08:56 +01:00
ios7_touch_controller.mm IOS7: Factor out touch pointer handling to TouchController class 2022-08-08 21:08:56 +01:00
ios7_video.h IOS7: Factor out touch pointer handling to TouchController class 2022-08-08 21:08:56 +01:00
ios7_video.mm IOS7: Add Mouse support using GameController framework 2022-08-08 21:08:56 +01:00
module.mk IOS7: Add Mouse support using GameController framework 2022-08-08 21:08:56 +01:00
README.md JANITORIAL: Update all scummvm.org URLS to use https 2019-03-09 21:52:14 +01:00

ScummVM for iOS 7.1+

This is a quick fix of the latest ScummVM (1.8.0) for iOS 7.1. It has been tested on real iPhone 6S+, and iPad Pro, and also on all the available Xcode simulators.

I tried to use all the latest iOS features to replace the old code. For instance, it uses gesture recognizers most of the time, it supports the new iPhones 6 / 6+ / 6s / 6s+ resolution, and you can copy your game files using iTunes.

Compilation

See https://wiki.scummvm.org/index.php/Compiling_ScummVM/iPhone

Usage

The game data files can be copied on the iOS device using iTunes. Once done, add your games in ScummVM as usual.

Here is a list of the in-game gestures:

Gesture Description
Two fingers swipe down Display the ScummVM menu for loading, saving, etc.
Two fingers swipe right Enable / disable the touchpad mode
Two fingers swipe up Enable / disable the mouse-click-and-drag mode
Two fingers tap Simulate a right click. You should tap with one finger, and then tap with another while keeping your first finger on the screen.
Two fingers double-tap Skip the cinematic / video

The iOS keyboard is visible when the device is in portrait mode, and hidden in landscape mode.