Henrik Rydgård
b899a178bf
Change approach (call from NativeFrame instead). Add Mac support
2024-01-18 18:21:12 +01:00
Henrik Rydgård
1304d04161
Fix a particular type of race condition in file dialog requests
...
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.
In this case, it's better to simply not call the callback, rather than
crashing.
This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
d6e1851c5b
Merge pull request #18699 from hrydgard/adrenotools-error-check
...
Adrenotools driver installation: Fix bad error checks
2024-01-15 12:49:26 +01:00
Henrik Rydgård
8faba8426a
AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation.
2024-01-15 11:46:41 +01:00
Henrik Rydgård
3ce843819e
Show a notification if a game exits with sceKernelExitGame. Mainly useful for homebrew.
2024-01-15 10:36:32 +01:00
Florin9doi
cad232e60e
sceSircs/Infrared support on Android
2024-01-12 20:29:53 +02:00
Herman Semenov
5a0d54be83
[Common/Data/GPU/Input/System/UI] Added const reference for function params
2023-12-14 14:21:11 +03:00
Henrik Rydgård
5763ec1b88
Move NativeQueryConfig into app-android.cpp
2023-12-12 09:56:33 +01:00
Henrik Rydgård
6d51fbc1e6
Refactor UI background rendering. There's now a BackgroundScreen.
2023-12-10 22:26:46 +01:00
Henrik Rydgård
db4993bfdc
Implement full support for mouse input on Android
...
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
676a4de4d7
Remove an ifdef controlling dialog button order
2023-12-07 17:30:15 +01:00
Henrik Rydgård
c5469c409a
Add specific sysprop for accelerometer
2023-11-06 18:33:01 -06:00
Henrik Rydgård
6dbe49775c
Add a sysprop for IsDebuggerPresent.
2023-10-12 11:58:04 +02:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
c28dc9e4f2
Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis
2023-09-27 11:34:31 +02:00
Henrik Rydgård
5fcca7d9f5
Fix customization of Leaderboard Submitted events.
...
See #17631
2023-09-11 10:47:59 +02:00
Henrik Rydgård
6eba885955
Slight OSD message duration tweak.
2023-09-08 12:33:00 +02:00
Henrik Rydgård
2e22fbdb8e
Merge pull request #18101 from unknownbrackets/android-run-tests
...
Android: Fix developer tools -> run tests
2023-09-08 08:34:34 +02:00
Unknown W. Brackets
9cc266b0e7
Android: Fix developer tools -> run tests.
2023-09-07 17:36:41 -07:00
Nemoumbra
0faa1109d2
Included <algorithm> for std::min
2023-09-07 12:14:36 +03:00
Henrik Rydgård
cd79d120d8
Don't log warnings on missing RA login secret. Also don't even check unless a username has been set.
2023-09-06 10:34:32 +02:00
Henrik Rydgård
cd78097e74
Allow dismissing notifications by touching/clicking them.
...
Fixes #18040
Might do something more elegant in the future.
2023-09-04 10:01:07 +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
b637a9c42e
Upgrade rcheevos to latest
...
The timer issue has been fixed upstream. Hopefully nothing will regress on
32-bit Android this time.
See #17631
2023-08-28 14:09:46 +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
feb0ea245e
Add mappable key to toggle networking
...
Fixes #17352
Requested in #17343
2023-08-23 22:14:51 +02:00
Henrik Rydgård
5b76615463
Cleanup and more sensible defaults for current directory
2023-08-18 15:04:20 +02:00
Henrik Rydgård
be708e3e02
Move KeepScreenAwake to platform specific code.
2023-08-10 16:12:12 +02:00
Henrik Rydgård
ac269aaa4b
rcheevos: revert to before #17806
...
PR #17806 upgraded rcheevos, after which a regression is reported in
issue #17631 .
Experimentally revert to confirm.
2023-08-08 15:38:22 +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
f45176fd25
Allow configuring in which corner achievement notifications can show up.
2023-08-01 12:52:09 +02:00
Henrik Rydgård
1071e1f248
Move towards separate types for leaderboard events
2023-08-01 11:57:28 +02:00
Henrik Rydgård
d268dd639a
Move the ScreenEdgePosition enum to a more appropriate location
2023-08-01 01:01:57 +02:00
Henrik Rydgård
a28ae79ef7
Safer handling of NONE
2023-08-01 00:28:54 +02:00
Henrik Rydgård
48d577014a
Refactor the on-screen display to be more customizable
2023-08-01 00:28:54 +02:00
Henrik Rydgård
1c05f71b50
Update to the latest version of rcheevos.
2023-07-30 11:58:55 +02:00
Unknown W. Brackets
94f7231e73
net: Fix request cancelling.
...
Was broken in #17737 .
2023-07-25 19:42:37 -07:00
Henrik Rydgård
2baba83f1a
Add a bunch of new icon images to the atlas.
2023-07-24 14:52:32 +02:00
Henrik Rydgård
ab6e902fea
Make naett work on Android, UWP, Mac. Exclude on Linux
2023-07-21 10:28:31 +02:00
Henrik Rydgård
fbd980bee6
Get basic Naett requests to work (the store works in https mode)
2023-07-21 10:28:17 +02:00
Henrik Rydgård
85f5136a81
Add a GetProperty query for the git version
2023-07-20 10:57:52 +02:00
Henrik Rydgård
370bb4c315
More progressbar improvements
2023-07-18 15:52:14 +02:00
Henrik Rydgård
ecea3844b0
Improved progress bar popups for downloads
...
Now shows the filename, and also there's a delay mode where they'll only
be visible if the download takes more than a second, plus they can be
named.
2023-07-18 15:13:44 +02:00
Henrik Rydgård
2537f76277
UI: Add a basic FileChooserChoice view
2023-07-16 12:14:40 +02:00
Henrik Rydgård
b092e08af1
Make literal into constexpr.
2023-07-16 09:01:16 +02:00
Henrik Rydgård
6bb97b3d46
Better mechanism to fade out the side bar when not on EmuScreen
2023-07-16 08:55:48 +02:00
Henrik Rydgård
c363cccc58
Java dialog requests: Simplify handling, more unique error codes
2023-07-15 12:24:00 +02:00
Henrik Rydgård
aa4264a192
RetroAchievements: Better handling of not being online when trying to log in
2023-07-13 11:26:43 +02:00
Henrik Rydgård
ce802664ea
Minor SettingInfo cleanup
2023-07-12 10:24:06 +02:00
Henrik Rydgård
3f924d1494
Smoothly remove any left-over overlays on emuscreen exit.
2023-07-10 21:04:22 +02:00