Commit Graph

125 Commits

Author SHA1 Message Date
Maschell
ea1ecf7c51 Fix config menu when no plugins are loaded, improve UI 2024-11-28 21:31:56 +01:00
Maschell
acde4d666d Add initial support for persisting a lsit inactive plugins 2024-11-28 21:30:05 +01:00
Maschell
99987df459 Reset active state in config menu when active selection is aborted (by pressing B or home) 2024-11-28 21:23:53 +01:00
Maschell
ab70f6f7c1 Preserve disabled plugins when wiiloading a new plugin 2024-11-28 21:22:23 +01:00
Maschell
b524584991 Only return active plugins in WUPSGetLoadedPlugins 2024-11-28 21:22:23 +01:00
Maschell
918322f52d Use bulleye char for checkbox 2024-11-28 21:22:20 +01:00
Maschell
4fc393f37a Add support for B-button in active-mode-screen 2024-11-28 21:21:31 +01:00
Maschell
8be76541cd Initial support for disabling/enabling plugins in config menu 2024-11-28 21:21:28 +01:00
Maschell
9e0932cb38 Only check for config menu if the plugin is linked and loaded 2024-11-28 20:59:14 +01:00
Maschell
b34fa84bed Only show active plugins in config menu 2024-11-28 20:57:40 +01:00
Maschell
e584d8c1df Save info is plugin is linked and loaded inside config info 2024-11-28 20:48:47 +01:00
Maschell
629dc0393f Make PluginLinkInformation not optional anymore in PluginContainer, add stub link data if missing 2024-11-28 20:45:46 +01:00
Maschell
ab99e6dcf7 Rename PluginInformation to PluginLinkInformation and make it optional in PluginContainer 2024-11-28 20:40:00 +01:00
Maschell
1524f0a6a9 Update plugin (un)loading logic to keep plugins loaded if possible 2024-11-28 20:26:17 +01:00
Maschell
447e1eb218 Code cleanup 2024-11-28 19:44:14 +01:00
Daniel K. O.
5893ac2f18
Use left/right to jump a full page on the toplevel menu. (#84)
* Allow using dpad left/right to navigate a whole page up or down, in the toplevel menu.
* Wrap around when paging up/down at the top/bottom.
* Cosmetic code change, and no wrap-around while paging.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-08-09 19:45:45 +02:00
Andrew
87bb3c521f Explicit support for Motion Plus controllers 2024-07-05 16:37:20 +02:00
Maschell
4c1131b0bf Refactor DC register access 2024-05-10 16:52:23 +02:00
Maschell
6db59dcc16 Redraw the config menu on any input 2024-05-10 16:01:08 +02:00
Maschell
b372d78b7d Add "saving config" screen to the config menu 2024-05-10 15:46:05 +02:00
Maschell
d1cfff4861 Fix displaying the config menu when using 480i + 4:3 or 576i as output resolution 2024-05-10 12:34:34 +02:00
Maschell
43a18b56d7 Small fixes to the .wps loading, return nullptr instead of OSFatal, add asserts instead of OSFatal 2024-05-08 18:08:03 +02:00
Maschell
ac05cf8231 Sort configs in config menu by name 2024-05-07 14:29:45 +02:00
Maschell
f9b67d57ea Add support for WUPS 0.8.1 2024-05-05 14:49:59 +02:00
Maschell
2047d5725b ConfigMenu: Reduce flickering when a plugin config is opened 2024-05-03 17:53:23 +02:00
Maschell
343092c338 ConfigMenu: Fix redraw logic 2024-05-03 17:53:23 +02:00
Maschell
be24d2c67a Close config menu if "release foreground" message is detected 2024-05-03 15:13:30 +02:00
Maschell
a8fd0b64ac ConfigMenu: Block reading input from other threads while the config menu is opened 2024-05-03 13:13:05 +02:00
Maschell
340fdddf0b ConfigMenu: Only redraw if something on the screen has changed 2024-05-03 13:13:05 +02:00
Maschell
6e02c4b7a1 config menu: Init KPAD if needed 2024-04-28 02:16:50 +02:00
Maschell
8071ceabf4 minor fix in drawutils 2024-04-28 02:16:50 +02:00
Maschell
958ba503c8 config menu: stop exiting the category for certain items 2024-04-28 02:16:50 +02:00
Maschell
2b29db165c Check if a plugin has a meta section 2024-04-27 17:50:29 +02:00
Maschell
cada64d86e API: Add WUPSGetPluginMetaInformationByPathEx and WUPSGetPluginMetaInformationByBufferEx 2024-04-25 16:19:26 +02:00
Maschell
004df036b8 Use remove_first_if instead of remove_locked_first_if when possible 2024-04-25 16:19:26 +02:00
Maschell
f7c9dc445c Allocate StorageItemRoot directly on list 2024-04-25 16:19:26 +02:00
Maschell
7d07f6525b Remove unnecessary std::unique_ptr usages 2024-04-25 16:19:26 +02:00
Maschell
b8647b94fc Capture values by reference in lambdas 2024-04-25 16:19:26 +02:00
Maschell
9e4930acec Add missing lock to gLoadedData access 2024-04-25 16:19:26 +02:00
Maschell
175a4fde53 ConfigMenu: ignore first input data 2024-04-25 16:19:26 +02:00
Maschell
076b4b8058 Add support for latest libwupsbackend 2024-04-25 16:19:26 +02:00
Maschell
f88e72a387 StorageAPI: Store root item not inside a shared_ptr 2024-04-25 16:19:26 +02:00
Maschell
8b215a5ea7 For plugin config v2 use the name from the config in the config menu 2024-04-25 16:19:26 +02:00
Maschell
950a55cd8f Minor cleanups 2024-04-25 16:19:26 +02:00
Maschell
3a91c90e76 ConfigMenu: Fix calling onCloseCallback for item which are not in a category 2024-04-25 16:19:26 +02:00
Maschell
823c94ca9c StorageAPI: support for loading/storing empty strings/binaries 2024-04-25 16:19:26 +02:00
Thomas Rohloff
184ca0bc5c Don't draw transparent pixels
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
2024-04-25 16:19:26 +02:00
Maschell
c38ef605cc StorageAPI: Update GetItemSize to take an additional itemType parameter to avoid a accidential string to binary conversion (e.g. for hashes) 2024-04-25 16:19:26 +02:00
Maschell
8cc78de58c StorageAPI: WUPS_STORAGE_ERROR_NOT_FOUND on StorageOpen is not an error anymoe 2024-04-25 16:19:26 +02:00
Maschell
acc372c836 Simplify the StorageAPI 2024-04-25 16:19:26 +02:00