288 Commits

Author SHA1 Message Date
libretroadmin
36e9d4a79d (ozone) ozone_draw_osk - use strtok_r instead of string_list 2024-06-16 16:38:42 +02:00
libretroadmin
37bcb4f093 Replace some strlcat usage with strlcpy 2024-06-16 14:52:26 +02:00
libretroadmin
827e631903 (libretro-common) Some functions now return len 2024-06-15 12:47:51 +02:00
libretroadmin
6cc5c414da Revert "Cleanups - remove/silence warnings"
This reverts commit cf04a2c0fe41b4c8428f0103a4f6e6b41270be1b.
2024-06-15 06:20:55 +02:00
zoltanvb
a9968e9e86 Controller device reservation / preference.
For each player, 2 new options are added:
- a reservation type (no reservation, preferred, reserved)
- a reserved device name

When handling port - player assignments, reserved devices
will be assigned to the respective player port. If reservation
type is "reserved", no other device can take that port
automatically.

Reservation config option and matching function lifted from:
PatrickStankard https://github.com/libretro/RetroArch/pull/16269

Test joypad driver was extended for more tests.

Co-authored-by: Patrick Stankard <me@patrickstankard.com>
2024-06-05 18:17:54 -05:00
libretroadmin
cf04a2c0fe Cleanups - remove/silence warnings 2024-05-23 07:48:08 +02:00
sonninnos
17b9324a24
Cleanup 'Add to Playlist' (#16495) 2024-05-05 03:48:20 -07:00
neil4
cc97df732c
Add Overlay Mouse, Lightgun, and Pointer (#16343)
- When enabled, any touch inputs not in a hitbox are used to create pointing device input for the core.
- Mouse: 1-, 2-, 3-touch inputs are LMB, RMB, and MMB
- Lightgun: allows input from overlay buttons or multi-touch mappings
2024-03-16 01:56:30 -07:00
sonninnos
2af029d451
(Ozone) Sidebar + sublabel animation fixes (#16326)
* (Ozone) List cache safeguards

* (Ozone) Sublabel width optimization + cleanup
2024-03-04 14:31:39 -08:00
sonninnos
219c666ef8
(Ozone) Sidebar related fixes (#16299)
* (Ozone) Fix crash when deleting last playlist from sidebar

* (Ozone) Respect navigation wraparound in sidebar

* (Ozone) Fix sidebar after loading configuration
2024-02-27 03:00:00 -08:00
Rob Loach
1af8a5ff34
[Menu] Tweak the Dracula color theme for rgui and ozone (#16223)
* ozone: Tweak the Dracula color theme

* rgui: Update RGUI's Dracula  color theme

* rgui: Update Dracula's transparency colors
2024-02-18 21:42:12 -08:00
zoltanvb
d88d0d5219
Option for disabling initial disc change (#16197)
Loading the last used disc for multi-disc content was automatic.
However, in some cases it is not wanted, as described in #16018
Option is added for controlling the function. Disabling the
option will also implicitly disable index saving.
2024-02-04 11:58:16 -08:00
Eric Warmenhoven
79e43e2bd4
Fix many warnings (#16180)
Also change iOS/tvOS to use system zlib instead of compiling it in
2024-01-31 09:15:14 -08:00
zoltanvb
14d2a61952
Removal of thumbnail pack downloader related options (#16096)
Thumbnail packs are no longer available, but the option was still
present as "legacy thumbnail downloader". Since it serves no
purpose any more, it is removed from the code.
2024-01-09 00:17:47 -08:00
Jamiras
93e5566b9a
(cheevos) inform user when server is unreachable (#15970)
* ensure game placard is loaded on main thread

* show on-screen indicator while disconnected

* show server unreachable message in achievements menu

* remove comment
2023-12-02 05:33:13 -08:00
sonninnos
9b97b40566
Enforce swap interval 1 in menu if vsync is on + Restore menu_throttle_framerate option (#15889)
* Enforce swap interval 1 in menu if vsync is on

* Restore menu_throttle_framerate option
2023-11-10 18:40:02 -08:00
sonninnos
1a97b0edd4
Savestate thumbnail fixes (#15869) 2023-11-05 15:32:28 -08:00
sonninnos
220caa5143
Remove menu_throttle_framerate option (#15850) 2023-10-31 09:58:47 -07:00
sonninnos
da59b8c9ac
Add 'Frame Rest' power saving option (#15834) 2023-10-26 04:20:48 -07:00
sonninnos
e3becab18e
(Ozone) Thumbnail related fixes (#15810) 2023-10-16 06:56:54 -07:00
GavinDarkglider
4387b0ab94
Lakka Switch Updates.... (#15754)
* Lakka: Switch: Decouple From LibNX builds.

* Lakka: Always show Power Management Settings menu

* Lakka: Switch: Add Nintendo Switch Options Menu, and First Option

* Lakka: Switch: Add CEC Toggle

* Lakka: Switch: Add Bluetooth ERTM Toggle

* Retroarch: unix platform:  Always display battery meter even when the device reports it as unknown
This is useful for most arm devices that have unknown battery status until charger state changes

* Retroarch: Lakka: Remove Gamemode stuff from build

Lakka will never include this, as it only runs base system, and retroarch.
2023-10-06 04:55:22 -07:00
Eric Warmenhoven
6e453b5ba0
Avoid crash if ozone sidebar_index_size is 0 (#15693) 2023-09-14 09:11:07 -07:00
sonninnos
ca7231f47c
(Ozone) Prevent metadata and footer overlap (#15677) 2023-09-07 13:41:05 -07:00
libretroadmin
553e30495b Remove unused variables 2023-09-05 14:55:39 +02:00
sonninnos
8a510451f2
(Ozone) Sublabel scope test (#15670) 2023-09-03 15:20:45 -07:00
sonninnos
b89a750d43
(Ozone) Revert minimum font size enforcements (#15663) 2023-09-02 05:36:51 -07:00
sonninnos
078df8ba39
(Ozone) Sublabel width tweak (#15657) 2023-09-01 02:25:33 -07:00
sonninnos
2623f8d085
(XMB+Ozone) Animation corrections (#15645) 2023-08-25 13:02:19 -07:00
sonninnos
12136ad516
Add 'Save As' option for remaps and overrides (#15630) 2023-08-21 16:11:48 -07:00
sonninnos
c512e02cc0
(Ozone) Mouse hover selection fix (#15615) 2023-08-18 12:38:45 -07:00
libretroadmin
24287b1cce Cleanups/simplifications 2023-08-17 21:58:41 +02:00
sonninnos
de45fc2f5f
Input binding rework (#15603)
* Input binding rework

* Controller info logging cleanup
2023-08-16 11:13:14 -07:00
libretroadmin
5f94f36204 Explicit typecasts to bool 2023-08-16 17:10:59 +02:00
Eric Warmenhoven
893b0d142e
Cloud Sync (#15548)
* cloud sync - algorithm and abstract cloud storage API

* WebDAV cloud sync driver, and associated net_http improvements

* Cloud sync settings menu
2023-08-04 09:20:50 +02:00
Rob Loach
1056e8cbca ozone: Tweak Dracula colours a bit 2023-07-18 21:26:31 +02:00
libretroadmin
770b9920f5 Cleanups:
* No implicit memsets for texture_image
* Replace some calls with concatenated strlcpys
* Some style nits
2023-07-18 16:46:54 +02:00
libretroadmin
55996bc9b6 Silence warnings 2023-07-17 17:43:50 +02:00
libretroadmin
d15de21da5 Cleanups 2023-07-16 17:14:10 +02:00
libretroadmin
ba492e9614 Move thumbnail_path_data to menu_st - cut down on code duplication in
menu_drivers
2023-07-16 09:46:08 +02:00
Rob Loach
62af42a182 ozone: Update Dracula theme 2023-07-15 22:34:17 +02:00
libretroadmin
3c1e64129e Cutdown on some strlens 2023-07-15 19:35:19 +02:00
libretroadmin
19ae344141 Cut down on more implicit strlens 2023-07-15 10:21:50 +02:00
nfore
9ca5c5e623 Revive/rewrite Keyboard Overlay and OSK Toggle
Add keyboard overlay preset, keyboard submenu, and osk_toggle hotkey. Use overlay caching for osk_toggle.

For now, keyboard menu has only preset path, auto-scale toggle, and opacity.

Related fixes:
- input_keyboard_event: Don't check hotkey binds when device is RETRO_DEVICE_POINTER
- Add input_keymaps_translate_rk_to_ascii() for correct character input to input_keyboard_event
- input_overlay_poll: Delay clearing INPUT_OVERLAY_BLOCKED flag until there is no overlay input (Avoids stray input after osk_toggle)
- Send keyboard events for modifiers before other keys (for correct modifier+key input if hitboxes overlap)
2023-07-09 04:42:49 +02:00
libretroadmin
d514f1ded3 Avoid false positives with code analysis tools - rename
variables called 'system'
2023-07-05 03:29:49 +02:00
sonninnos
4cca2b8eaf Add menu icons to 'RetroPad Binds' 2023-07-02 05:47:25 +02:00
Eric Warmenhoven
280dcb32f9 Fix several warnings 2023-07-02 05:46:45 +02:00
libretroadmin
bdc398d79f - Safer code - use strlcpy where possible instead of manual character
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin
edecf0cb2d Replace more strlcat calls with strlcpy 2023-06-18 19:25:24 +02:00
libretroadmin
bc1672708d Get rid of some code duplication in MaterialUI/Ozone 2023-06-16 00:48:16 +02:00
libretroadmin
0c51321099 Get rid of font_driver_flush 2023-06-15 23:41:40 +02:00