Commit graph

5193 commits

Author SHA1 Message Date
Le Philousophe
5d58196643 ANDROID: Merge ScummVMEventsModern and ScummVMEventsBase
The split was done to allow to support versions before HONEYCOMB_MR1 but
we don't support these versions anymore.
2024-11-12 22:39:58 +01:00
Le Philousophe
08f1383dc9 ANDROID: Use PointerIcon.TYPE_ARROW
PointerIcon.TYPE_DEFAULT is deprecated and has always been equal to
TYPE_ARROW.
2024-11-12 22:39:58 +01:00
Le Philousophe
72dcdcc9c6 ANDROID: Allow showing the soft keyboard when a HW is present
When a hardware keybaord is present, Android may display the IME
dependng on a (secure) user setting.
Even if this setting is not documented, as it's here since 2014, it
seems quite safe to use.
In addition, long pressing the input method icon will forcibly display
the soft keyboard even if a HW keyboard is present.
2024-11-09 13:10:57 +01:00
Miro Kropacek
235da53455 Revert "BACKENDS: (PSP) Fix missing General Midi device error"
This reverts commit fcddbb0fc1.
2024-11-08 18:43:23 +02:00
Miro Kropacek
5a7ec95377 Revert "BACKENDS: (Switch/PSP2) Fix General Midi device error"
This reverts commit 5fe3c560b6.
2024-11-08 18:43:23 +02:00
Eugene Sandulenko
299ed1688d
BACKENDS: SAILFISH: Removed unnexessary include 2024-11-08 01:14:22 +01:00
antoniou79
f9251fc030 ANDROID: Improve multitap gesture handling for direct touch mode
More guards were added to hopefully link the mouse down and up events that should be executed in sequence, albeit delayed

Also a new case was added for a delayed mouse up event (in JE_MULTI) to avoid it being executed out of order / too soon.
2024-11-07 17:50:47 +02:00
Lars Sundström
47d9d2f3a1 IOS7: Fix compilation warnings
Remove an accidental semicolon after a function definition which
was ignored by the compiler but generated a warning.

Rename a variable inside a code block that was generating a warning
about shadowing a local variable.
2024-11-07 13:04:09 +02:00
Giovanni Cascione
e09c521cd8 LIBRETRO: refactor av_status 2024-11-02 00:16:47 +01:00
Giovanni Cascione
958b6b74b1 LIBRETRO: add NEON feature test to LibretroOpenGLGraphics 2024-11-02 00:16:47 +01:00
Giovanni Cascione
742f88bd15 LIBRETRO: add GUI resolution settings 2024-11-02 00:16:47 +01:00
Giovanni Cascione
207a65c8eb LIBRETRO: increase initial value of max w/h to max engines request 2024-10-29 00:31:16 +01:00
Giovanni Cascione
d7276b9e6b LIBRETRO: add readability test to isDirectory() and getParent() 2024-10-29 00:30:46 +01:00
Giovanni Cascione
db6469306a LIBRETRO: add neon support 2024-10-29 00:30:23 +01:00
Le Philousophe
70b1b16a93 ANDROID: Monitor shader changes when building assets 2024-10-27 20:02:39 +01:00
Le Philousophe
1a1315ed2b ANDROID: Drop androidx appcompat requirement 2024-10-27 09:43:34 +01:00
Giovanni Cascione
f6ff9f3d6f LIBRETRO: move paths checks to applyBackendSettings() 2024-10-25 20:27:28 +02:00
Giovanni Cascione
3a94cf76c0 LIBRETRO: add path checks on settings change 2024-10-25 20:27:03 +02:00
Giovanni Cascione
dbc7039622 LIBRETRO: split settings path checks in separate function 2024-10-25 20:26:39 +02:00
Giovanni Cascione
576e2251c7 LIBRETRO: add checks for iconspath 2024-10-25 20:26:05 +02:00
Giovanni Cascione
27c7b5e5cb LIBRETRO: add readability condition to load paths 2024-10-25 20:25:42 +02:00
Giovanni Cascione
133eea820c LIBRETRO: fix pointer input coordinates 2024-10-22 19:40:07 +02:00
Rudi Heitbaum
8dffadf672 LIBRETRO: BUILD: Allow fallback to curl if wget is missing (#68) 2024-10-22 19:39:54 +02:00
Giovanni Cascione
35f9f7eb71 LIBRETRO: handle resizing to native res in hw rendering 2024-10-22 19:39:37 +02:00
Giovanni Cascione
79e0d08e91 LIBRETRO: JANITORIAL: cleanup 2024-10-22 19:39:10 +02:00
Giovanni Cascione
a874244a6d LIBRETRO: rewrite surface graphics manager and split sources 2024-10-22 19:38:50 +02:00
Vladimir Serbinenko
cb1b3d7545 SAILFISH: Enable standard engine set
While on it remove stale variable
2024-10-21 00:20:35 +03:00
sluicebox
e61ad40d2f BACKENDS: WIN32: Use Win32 specific API to move file atomically
This avoids to remove the destination file before moving the temporary one.

Co-authored-by: Le Philousophe <lephilousophe@users.noreply.github.com>
2024-10-15 22:45:50 +02:00
Le Philousophe
fdd11d0714 BACKENDS: FS: Implement atomic file write for stdio stream backend
This implementation creates a temporary file (suffixed with .tmp) and
renames it to the expected file name when the file is closed.
If the renaming fails, the destination file is removed and renaming is
tried again to handle cases where renaming over an existing file is not
supported by the underlying OS.
2024-10-15 22:45:50 +02:00
Le Philousophe
e61dac6c68 BACKENDS: Allow write streams to be created atomically
When creating an atomic write stream, the file is only created once it
is closed.
This can be done using a temporary file.
This commit only adds the API but not the proper implementation.
2024-10-15 22:45:50 +02:00
Lars Sundström
ef5e31aaa6 IOS7: Fix crash (abort) on boot
Some crash reports from AppStore was reported due to system abort
while trying to read the current touch mode on system startup.
When the ViewController loads it tries to read the touch mode to
know which icon to show. The scummvm system runs in a different
thread and might not have finished loading at the time.

This causes an uneccessary race condition and it's a bit hard to
abort the application in this scenario. It should be just fine to
return the default "Direct touch" mouse mode when this happens.
2024-10-14 20:37:26 +02:00
Lars Sundström
f460c6cb02 IOS7: Add margins to on-screen control buttons
The button images can become cropped if placed too close to the
corners on modern iPhones and iPads. This due to the squircle form
of the screen corners. iPhones have safe area insets that can be
used to calculate a margin. On iPads the safe area inset values
are 0, but still the button images can be cropped due to the round
form of the screen corners. Use a constant value of 10 in those
cases.

This looks good on devices with big screens (iPads) and smaller
screens (iPhone 12 mini).
2024-10-14 20:37:26 +02:00
Lars Sundström
f2b1bbd243 IOS7: Put burger menu button below touch mode button
Put the menu button below the touch mode button to remove the empty
gap while in the launcher. By putting the buttons along the right
side they interfere less with the game interface. This is how the
Android port place the buttons. Align the iOS port accordingly.
2024-10-14 20:37:26 +02:00
Lars Sundström
5ffb00df5d IOS7: Hide burger menu button when in launcher
The burger menu button doesn't fill any purpose while in the launcher.
Nothing happens when the user press the button in the launcher. This
is considered as bad user experience according to Apple guidelines.
The button must be hidden while in the launcher.

Show the menu button only while an engine is running.
2024-10-14 20:37:26 +02:00
Vladimir Serbinenko
7299aced88 SAILFISH: Fix typo in sailfish-main.cpp
Co-authored-by: Filippos Karapetis <bluegr@gmail.com>
2024-10-08 00:56:08 +02:00
Vladimir Serbinenko
aa902ac593 SAILFISH: Fix typo in README.md
Co-authored-by: Filippos Karapetis <bluegr@gmail.com>
2024-10-08 00:56:08 +02:00
Vladimir Serbinenko
b7f854ce78 SAILFISH: New port for SailfishOS
Still has some issues documented in README.md but is already playable
2024-10-08 00:56:08 +02:00
Eric Warmenhoven
ea8d6d00ea LIBRETRO: BUILD: Fix iOS build 2024-10-07 14:27:59 +02:00
Andrew Martin
6359bd0533 IOS7: Share Apple Pencil input gestures with Touch input
- Mouse left click and long click gestures are shared between
 the Pencil and regular Touch inputs.
- Mouse right click and long click have Pencil specific gestures.
2024-10-04 23:15:13 +01:00
Andrew Martin
5603c5f7c9 IOS7: Add Apple Pencil input support 2024-10-04 23:15:13 +01:00
Eric Warmenhoven
6363f1d3d3 LIBRETRO: BUILD: Fix tvOS build 2024-10-01 22:11:30 +02:00
Cameron Cawley
3a757731a2 SDL: Support building with more than two renderers 2024-10-01 21:22:07 +03:00
Cameron Cawley
c4d1359f45 BACKENDS: Remove the legacy Dingux backend
# Conflicts:
#	backends/module.mk
2024-09-30 00:24:25 +02:00
tunnelsociety
e533413c34 JANITORIAL: Fix typo in helpTabs Touch Controls 2024-09-29 21:28:28 +02:00
Vladimir Serbinenko
b2c4468aae SDL: Enable touchpad mode option on generic SDL
Touchscreen is present on Linux phones and can be present on generic Linux.
Allow to configure it in touchpad mode. Think of Raspberry pi connected to
a touchscreen
2024-09-27 03:26:47 +03:00
Eugene Sandulenko
c84a71596f
ANDROID: Drop accidental +x flag on source files 2024-09-24 10:47:17 +02:00
Giovanni Cascione
66061a317c LIBRETRO: BUILD: define OPENGL_DEBUG if DEBUG is defined 2024-09-23 20:19:43 +02:00
Giovanni Cascione
630d45332f LIBRETRO: BUILD: fix noengine target 2024-09-23 10:51:35 +02:00
Giovanni Cascione
668e2b66af LIBRETRO: fix cursor glitch 2024-09-16 23:34:36 +02:00
Giovanni Cascione
fa206df0d9 LIBRETRO: BUILD: fix genode TARGET string 2024-09-16 23:34:19 +02:00