Commit Graph
28 Commits
Author SHA1 Message Date
Lars Sundström 8d395fd790 IOS7: Add support for Extended Gamepad controllers
Add support for Extended Gamepad controllers. What defines extended
gamepad controllers can be found here:
https://developer.apple.com/documentation/gamecontroller/gcextendedgamepad

Support has been added for controlling the pointer position using the
left thumbstick, left clicks using the A-button and right clicks using
the B-button. Also the Main menu can be accessed using the Home/Menu
button.

The thumbstick values are received when changed, however if holding the
thumbstick in the same position the valueChangedHandler will not be
called. Therefore store the X- and Y-axis values and begin to poll
readings of the stored values for as long as the thumbstick is out of
the center position.
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 4133cf4b9f IOS7: Add GameController capability
Add the GameController framework to the project and enable support for
controller user interaction in the Info.plist file. This allows for
Game Controller compatible devices to notify the application when
connected.

Add GameController framework to configure and ports.mk if not using
Xcode to build the target.
2022-08-08 21:08:56 +01:00
Lothar Serra Mari a07be8c665 RELEASE: This is 2.7.0git 2022-06-05 20:43:05 +02:00
Eugene Sandulenko 9a4f0b7c66 RELEASE: This is 2.6.0git now 2021-10-01 16:04:48 +03:00
Thierry Crozat 8ef63e0e0d IOS7: Add support for upside down portrait orientation 2021-09-29 20:30:16 +01:00
Eugene Sandulenko 580ec65220 RELEASE: This is 2.4.0git 2021-08-28 21:01:11 +02:00
Thierry Crozat b33746e37f IOS7: Fix building with Xcode
This partially revert commit 0ff00cca2a and should hopefully
fix bug #12647.

The issue is that the executable name in the Info.plist did not
match the name of the executable generated by Xcode (ScummVM vs
scummvm). I changed it back to $(EXECUTABLE_NAME), which is
automatically replaced by Xcode, and added a sed command to the
make target to replace it with the actual executable name (as
we did with the $(PRODUCT_BUNDLE_IDENTIFIER) already).

An alternative would be to hardcode the name to "scummvm" in the
Info.plist and change the iphonebundle and ios7bundle target to
also use all lower case scummvm when copying the executable.
2021-08-12 21:27:30 +01:00
Le Philousophe 0ff00cca2a MACOS/IPHONE: Sign whole bundle
Add signing to MacOS for arm64 builds
2021-05-29 17:25:22 +02:00
Matthew Duggan 5135f1f4b9 ALL: Run optipng to reduce png file size 2020-11-01 21:34:03 +09:00
Andrew Martin d20d597f72 IOS: Add LaunchScreen.storyboard to support full screen on iPad Pro 2020-09-06 23:38:00 +01:00
Eugene Sandulenko 98e0b14852 RELEASE: This is 2.3.0git 2020-08-30 13:42:19 +02:00
Eugene Sandulenko 41b49444b6 RELEASE: This is 2.2.0git 2019-09-23 00:12:30 +02:00
Matan Bareket eaa9f23505 BUILD: Update logos and icons on ports 2019-04-02 10:55:57 -04:00
Cameron Cawley a39377724f IOS: Sync Info.plist.in and Info.plist 2018-11-14 05:46:21 +00:00
Yoshi Sugawara b4bad9100a IOS: Support building in Xcode 10/iOS 12, and for iPhone X-like devices that have a "safe area"
iOS 12 drops support for libstdc++, so the project needs to be compiled explicitly using libc++.
Support the "safe area" when redrawing the view to leave space for the notch in portrait and
landscape orientations.
2018-10-28 17:16:06 +00:00
Jonny Bergström 4d36385ccb Fix launch on recent iOS device (iOS 11.4.1) 2018-09-10 12:20:56 +02:00
Thierry Crozat cd7e6cd31c RELEASE: This is 2.1.0git 2017-11-30 00:13:10 +00:00
Colin Snover c13defd661 RELEASE: 1.10 will henceforth be known as 2.0
General consensus on the ML was that people wanted to do this.
http://lists.scummvm.org/pipermail/scummvm-devel/2017-November/012008.html
2017-11-21 15:26:52 -06:00
Eugene Sandulenko 53790e7497 RELEASE: This is 1.10.0git 2016-09-26 20:57:54 +02:00
Vincent Bénony d1c0a1f8e5 IOS: Adds support for iPad
These keys are automatically added by Xcode when one compiles a regular Xcode project, but are missing when compiling from the command line.
2016-02-13 17:00:53 +02:00
Eugene Sandulenko 0930018045 RELEASE: This is 1.9.0git 2016-02-05 23:31:25 +01:00
Vincent Bénony 15a1db3fa0 IOS: Updates the splash screens 2016-01-07 13:50:34 +01:00
Vincent Bénony ac94ad1162 IOS: Update the autotools template files 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 5035a6e394 IOS: Recommanded settings for Xcode 7.2 2016-01-06 16:17:36 +01:00
Vincent Bénony e9378ccf3e IOS: Avoid subclassing UIApplication, and handle multitasking 2016-01-06 16:17:35 +01:00
Vincent Bénony 638dc113f8 IOS: Create two targets for old iPhone (iOS <= 6) and new one (iOS >= 7)
The "iphone" backend is the support for the old iPhones.
The "ios7" backend is for the new iPhones.
2016-01-06 16:17:33 +01:00