Commit Graph
176 Commits
Author SHA1 Message Date
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 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 47f12dfeec Make linking to MoltenVK work 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 80a99a67d9 Control: Change internal interfaces to batch-process input axis updates
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.

Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård 60492ae579 Make System_ShowFileInFolder a "request"
Also makes support queryable.

Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård ff6e118fff Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically. 2023-08-14 11:02:29 +02:00
Henrik Rydgård 1ea11c233c Remove "SwapBuffers" from the GraphicsContext interface.
Buildfixes

More buildfix

headless buildfix

One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård bcae36d8cb Merge NativeUpdate and NativeRender, we always call them together. 2023-08-07 22:50:57 +02:00
Henrik Rydgård d23f659533 Android and iOS buildfixes 2023-06-30 17:35:27 +02:00
Henrik Rydgård 8fa7cb2122 iOS buildfix, cleanup 2023-06-20 16:10:13 +02:00
Henrik Rydgård 2675d6ea43 Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Serena d886b23ae1 Automatically hide home indicator on iPhone X/all devices with home indicator 2023-05-20 00:02:14 +03:00
Henrik Rydgård 38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Unknown W. Brackets 441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Henrik Rydgård 9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Henrik Rydgård b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård ac47476253 And share_text, toast, recreate 2023-03-22 23:52:25 +01:00
Henrik Rydgård f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Serena 7e31ee1e2b Remove SubtleVolume 2023-02-01 20:53:15 +03:00
Henrik Rydgård 5735b9a8ac Buildfixes for libretro, ios 2023-01-30 15:57:18 +01:00
Henrik Rydgård 6f703128ec Experimentally revert "Delete some misguided FPU control code, that we definitely don't want"
This reverts commit d52d383c22.
2022-10-10 18:35:29 +02:00
Henrik Rydgård d52d383c22 Delete some misguided FPU control code, that we definitely don't want 2022-10-10 10:46:51 +02:00
Unknown W. Brackets 536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
Yifan Gu 633a6f612b Refactor and unify analog input settings 2021-07-05 12:38:46 +02:00