Lars Sundström
e7759ac0ef
IOS7: Implement getHardwareInputSet to get connected devices
...
Trigger EVENT_INPUT_CHANGED when devices connects to make the ScummVM
engine update the hardware input set.
2022-08-08 21:08:56 +01:00
Lars Sundström
db2e15b3f1
IOS7: Factor out touch pointer handling to TouchController class
...
Move touch inputs to a TouchController class to move some logic from the
iPhoneView class. Only do this for touches on screen since connected
trackpads can generate touches as well. The latter ones are of type
UITouchTypeIndirectPointer while touches on screen are of type
UITouchTypeDirect. They are separated thanks to the preference key
UIApplicationSupportsIndirectInputEvents set to YES in Info.plist.
Without the preference above, there is no way to distinguish touches
from screen from a trackpad.
2022-08-08 21:08:56 +01:00
Lars Sundström
877d1ffa67
IOS7: Add pointerPosition property to iPhoneView class
...
Let the view keep the current pointer position as a property, allowing
it to be modified by controllers.
2022-08-08 21:08:56 +01:00
Lars Sundström
6387046666
IOS7: Make iPhoneView addEvent and getMouseCoords functions public
...
Squash with the one above
2022-08-08 21:08:56 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Cameron Cawley
a38103fb23
IOS7: Remove scaler code
2021-03-15 16:48:40 +02:00
Thierry Crozat
c50ffd74c6
IOS7: Properly restore state when the process has been terminated
2020-09-13 00:21:36 +01:00
Thierry Crozat
63627dc26d
IOS7: Save state as a background task when entering background
...
This is better than using an hardcoded delay for two main reasons.
The first one is that the application can terminate as soon as it
has finished saving the state, and the second one is that it will
still work if saving the state takes longer than the delay that
was hardcoded.
2020-09-13 00:21:35 +01:00
Thierry Crozat
28e9910666
IOS7: Implement game state save/restore when switching tasks
...
This only works if the running engines can save the game at the
time when ScummVM goes to the background.
This should partially fix bug #7871 .
2020-09-13 00:21:35 +01:00
sluicebox
42217b5852
IOS7: Implement horizontal shake
2019-11-19 00:20:40 +01:00
sluicebox
b8390fa161
GRAPHICS: Add interface for horizontal shake
2019-11-19 00:20:40 +01:00
Thierry Crozat
4795f2b68a
IOS: Implement kFeatureVirtualKeyboard to show/hide the keyboard
2019-02-16 17:20:57 +00:00
Johannes Schickel
f8ef5e2476
IOS7: Make includes match our style.
2016-01-07 12:44:48 +01:00
Johannes Schickel
8fc03872c4
IOS7: Use #include instead of #import.
...
We always use #include. #import is a nice ObjC feature (in theory), but can
lead to odd results in corner cases.
2016-01-07 12:44:48 +01:00
Johannes Schickel
17a57443ae
IOS7: Use standard include guard names.
2016-01-07 12:44:48 +01:00
Vincent Bénony
aa77c0c92d
IOS: Disable scalers
2016-01-06 16:20:28 +01:00
Vincent Bénony
cfcd3842ed
IOS: Adds iPhone 6/6+ launch screens
2016-01-06 16:17:37 +01:00
Vincent Bénony
7324f87b9a
IOS: Switches to OpenGL ES 2.0 to ease debugging with Xcode
2016-01-06 16:17:37 +01:00
Vincent Bénony
80afba232a
IOS: Implements scalers
2016-01-06 16:17:37 +01:00
Vincent Bénony
dd950fdb22
IOS: Removes a global variable
2016-01-06 16:17:35 +01:00
Vincent Bénony
699c350481
IOS: Renames iOS7 classes to avoid confusion
2016-01-06 16:17:34 +01:00