Commit graph

323 commits

Author SHA1 Message Date
Henrik Rydgård
d46a7ed228 iOS gamepad mapping: Better mapping, better defaults. Fixes the start button problem.
controller.controllerPausedHandler should not be set.
2024-05-26 11:12:13 +02:00
Henrik Rydgård
044451d557 iOS: Enable ARC on all the .mm files (oops) 2024-05-26 10:32:31 +02:00
Henrik Rydgård
c26de64d0f iOS: Pass through touches near the task switcher only in-game. Makes the UI better behaved. 2024-05-26 10:27:14 +02:00
Henrik Rydgård
081bf51eac iOS: Fix issue with keyboard popping up after file picker.
iOS kb APIs are crazy
2024-05-26 09:23:57 +02:00
Henrik Rydgård
76c5a8cf1b Fix submodule path, remove some logspam.
Fixes #19180
2024-05-24 19:01:34 +02:00
Henrik Rydgård
f864f52b64 More app lifecycle work. Switching between Vulkan and OpenGL now works. 2024-05-24 11:48:44 +02:00
Henrik Rydgård
9a93a478d1 Fix smooth switching from Vulkan to GL 2024-05-23 14:37:12 +02:00
Henrik Rydgård
740219a65b Plumb the restart event into AppDelegate 2024-05-23 14:16:07 +02:00
Henrik Rydgård
aa3256f4e8 Turn off the Vulkan thread when switching away from the app. 2024-05-23 12:52:16 +02:00
Henrik Rydgård
b66f7ea909 Vulkan on iOS: Hook up remaining functionality 2024-05-23 09:41:00 +02:00
Henrik Rydgård
5f79046e01 Get Vulkan rendering on iOS (still, need to hook up input etc) 2024-05-23 09:41:00 +02:00
Henrik Rydgård
09e2c78a33 Add ViewControllerMetal placeholders 2024-05-23 09:41:00 +02:00
Henrik Rydgård
946881dcf1 Minor cleanup (remove redundant stuff from the storyboard) 2024-05-23 09:41:00 +02:00
Henrik Rydgård
47f12dfeec Make linking to MoltenVK work 2024-05-23 09:41:00 +02:00
Henrik Rydgård
41f8670d2a Add MoltenVK.xcframework as a submodule 2024-05-23 09:41:00 +02:00
Henrik Rydgård
4726e1f4b3 Remove the last non-interface function on the ViewController 2024-05-22 16:43:18 +02:00
Henrik Rydgård
538cc62f16 Remove a redundant function 2024-05-22 16:43:18 +02:00
Henrik Rydgård
cc37476c79 Add a ViewControllerCommon.h 2024-05-22 16:43:16 +02:00
Henrik Rydgård
016e90f7a4 Buildfix, cleanup use of long-deprecated stuff. 2024-05-22 13:34:17 +02:00
Henrik Rydgård
98e87a78d8 Extract the iCade code to Controls.mm 2024-05-22 12:11:51 +02:00
Henrik Rydgård
bf8d55c970 Finish extracting the touch tracker from the ViewController 2024-05-22 11:59:26 +02:00
Henrik Rydgård
1db11599b4 Move some more code 2024-05-22 11:36:52 +02:00
Henrik Rydgård
75af8c6704 Some C++-ification 2024-05-22 11:24:00 +02:00
Henrik Rydgård
82573b4f82 Move controller setup to Controls.mm 2024-05-22 11:18:03 +02:00
Henrik Rydgård
04a260bded Move System_LaunchUri to a more appropriate place 2024-05-22 11:17:38 +02:00
Henrik Rydgård
c34079a908 Hide keyboard on app display 2024-05-22 11:17:01 +02:00
Henrik Rydgård
09e89e9d79 Minor cleanup 2024-05-22 10:38:40 +02:00
Henrik Rydgård
4f2379a2d3 Remove obsolete code path 2024-05-22 00:24:36 +02:00
Henrik Rydgård
947f0a876e Delegate shouldn't keep the specific ViewController type 2024-05-21 14:57:30 +02:00
Henrik Rydgård
b1a435840c Renaming and comments 2024-05-21 14:48:28 +02:00
Henrik Rydgård
3166eee3f0 iOS ViewController: Move external methods to a protocol 2024-05-21 14:20:42 +02:00
Henrik Rydgård
835aa02a28 Add basic soft-keyboard support on iOS
This uses the old UIKeyInput which is a bit limited language-wise, however, it's enough
to log into RetroAchievements and change your nickname, at least, and it was the easiest to implement.

So, this solves 90% of the problems caused by missing keyboard support, at least.
2024-05-20 19:08:35 +02:00
Henrik Rydgård
c083e0966a iOS: Add recognizer for swipe-from-left-edge gesture, for Back 2024-05-20 16:22:27 +02:00
Henrik Rydgård
aa6962df4a iOS swipe gesture recognizer experiment 2024-05-20 16:12:25 +02:00
Henrik Rydgård
8756a2100e iOS: Fix threading issue with launch-url 2024-05-20 15:43:27 +02:00
Henrik Rydgård
d720224c87 iOS: Switch to the same screen dimming logic as Windows/Android 2024-05-20 14:27:42 +02:00
Henrik Rydgård
1ff7710854 Folder/file browser tweaks 2024-05-20 10:04:11 +02:00
Henrik Rydgård
b8248c51cc Update icons 2024-05-20 10:04:11 +02:00
Henrik Rydgård
27f9bd0919 Create a .xcassets folder for the icons, link it properly 2024-05-20 10:04:11 +02:00
Henrik Rydgård
c8a4961f95 Add 1024x1024 icons (as now required for iOS apps...) 2024-05-20 10:04:11 +02:00
Henrik Rydgård
ac058261fe iOS: Remove use of a non-public vibration API in app store builds 2024-05-20 10:04:11 +02:00
Henrik Rydgård
16dffaa92d Add a little perl script to try to convert version numbers to Apple-compatible format. 2024-05-20 10:04:11 +02:00
Henrik Rydgård
ca7f781ae8 Rename ExportFree.plist to Export.plist 2024-05-20 10:04:11 +02:00
Henrik Rydgård
fc554050fd Fix updating the version in the plist, various cleanup 2024-05-20 10:04:11 +02:00
Henrik Rydgård
90f7a90aa8 More build work 2024-05-20 10:04:11 +02:00
Henrik Rydgård
2df7a24748 Messy hackery, we now seem to be able to export 2024-05-20 10:04:11 +02:00
Henrik Rydgård
aa94867128 Warning fixes 2024-05-20 10:04:11 +02:00
Henrik Rydgård
640eb1f799 Limit file browsing in app store builds 2024-05-20 10:04:11 +02:00
Henrik Rydgård
a2a150a95e More work on iOS Gold version 2024-05-20 10:04:11 +02:00
Henrik Rydgård
3011a5222a Pass in team ID, start of gold prep 2024-05-20 10:04:11 +02:00