Commit Graph

346 Commits

Author SHA1 Message Date
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
305418813a Add option to control the iOS app switching mode 2024-07-05 20:08:12 +02:00
Henrik Rydgård
21df698a20 iOS: Enable "double-swipe" to switch apps
To prevent accidental app switching.

Unfortunately, the way to do this is to disable auto-hiding of the swipe indicator.
Another strange Apple quirk.
2024-06-20 11:28:35 +02:00
Henrik Rydgård
898e117b6b Do the same for the Metal/Vulkan viewcontroller. 2024-06-19 23:09:58 +02:00
Henrik Rydgård
4c4fcabc5e iOS: Disable the swipe-back gesture in-game, to maximize touch responsiveness 2024-06-19 22:43:42 +02:00
Henrik Rydgård
95a886cffb Typo fix 2024-06-13 00:00:33 +02:00
Henrik Rydgård
87f066ef14 Set GCSupportsGameMode in info.plist files for iOS and Mac
See https://youtu.be/SgshkDg1QN8?t=519

This seems to be the way to do it.
2024-06-11 18:13:40 +02:00
Henrik Rydgård
d8120f9f2e Set the games category in plists for Mac and iOS. 2024-06-11 11:46:55 +02:00
Henrik Rydgård
78a3cb5689 Fix for non-app-store builds 2024-06-05 23:30:22 +02:00
Henrik Rydgård
584d07ea8e iOS: Implement basic physical keyboard support 2024-06-05 23:27:03 +02:00
Henrik Rydgård
338758f430 iOS: Fix "Home" button on controllers (like the PS logo button on a PS4 controller) 2024-06-05 15:01:02 +02:00
Henrik Rydgård
dca67bb5ce Add a message for network usage
See #19246
2024-06-05 13:34:28 +02:00
Henrik Rydgård
7b3f0aeab2 iOS: Implement accelerometer support 2024-06-04 11:51:09 +02:00
Henrik Rydgård
8e1218976d Fix wrong function signature in iOS file picker, also a lifetime issue 2024-06-01 12:31:12 +02:00
Henrik Rydgård
bd13653153 iOS: Call hideKeyboard from a couple more places 2024-06-01 12:28:13 +02:00
Henrik Rydgård
3065979528 iOS: Fix hang when task switching in GL mode 2024-05-29 18:21:58 +02:00
Henrik Rydgård
606a895985 iOS: Update recents paths on load
Fixes the main part of #19211
2024-05-29 10:12:20 +02:00
Henrik Rydgård
b9545324a6
Merge pull request #19195 from Halo-Michael/master
Uniform icon style & clean up
2024-05-28 11:32:30 +02:00
Henrik Rydgård
5e9878cfda iOS: Implement the two new audio flags (respect silent mode, mix with other apps) 2024-05-27 23:35:31 +02:00
Henrik Rydgård
35c40196d4 Implement UI for setting up the iOS audio modes 2024-05-27 15:17:47 +02:00
Henrik Rydgård
07b6938de1 iOS: Small refactor to centralize audio session mode management 2024-05-27 14:50:04 +02:00
Halo-Michael
32d38627ad Uniform icon style & clean up 2024-05-27 00:57:36 +08:00
Henrik Rydgård
6817858d61 Use a hacked MoltenVK that can be loaded (but doesn't work) on iOS 12.
See https://github.com/KhronosGroup/MoltenVK/issues/2240
2024-05-26 16:45:29 +02:00
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