263 Commits

Author SHA1 Message Date
Maschell
9275d98e47
Fake VPADResult when pressing the config menu buttonn combo to avoid error message in some games (#110) 2025-02-15 19:08:40 +01:00
Daniel K. O.
c4ba7030d9
Block on VPADRead() while the plugin menu is open in Hyrule Warriors. (#109)
* Block on `VPADRead()` while the plugin menu is open.

* Trying to please clang-format.

* Block `VPADRead()` only for Hyrule Warriors.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2025-02-14 17:59:06 +01:00
Daniel K. O. (dkosmari)
23533c77de Ported the paging code from the main branch.
--HG--
branch : page-up-down-nav
2025-02-08 13:14:17 +01:00
Maschell
5321272924 Unload unactive plugin when wiiloading a plugin with the same name and author 2025-02-08 13:14:17 +01:00
Maschell
b031576757 ConfigMenu: Change wording from "activate" to "toogle 2025-02-08 13:14:17 +01:00
Maschell
9c24ed8f2e StorageAPI: code cleanup 2025-02-08 13:14:17 +01:00
Maschell
8ae02cdbfe StorageAPI: Make sure we keep mHandle of rootItem when force-reloading storage 2025-02-08 13:14:17 +01:00
Maschell
9229376259 Use latest WUPS and libbuttoncombo version 2025-02-08 13:14:17 +01:00
Maschell
aa7eb11013 Remove the global trampoline table and add a small trampoline table next to each .text section instead 2025-02-08 13:14:17 +01:00
Maschell
c884b17695 ButtonComboAPI: Check if provided callback is null 2025-02-08 13:14:17 +01:00
Maschell
94ca12b415 ConfigMenu: Show wiimote button when the last input was on a wiimote 2025-02-08 13:14:17 +01:00
Maschell
3ec6b3f4a1 ConfigAPI: bump api version 2025-02-08 13:14:17 +01:00
Maschell
d327b2d3ca ButtonComboAPI: Add support for more wiimote buttons 2025-02-08 13:14:17 +01:00
Maschell
c70306ab6e Add button combo module depedency 2025-02-08 13:14:17 +01:00
Maschell
e815739ab2 Fix logging button combo hook 2025-02-08 13:14:17 +01:00
Maschell
8942778768 Simplify trampoline reset, flush cache 2025-02-08 13:14:17 +01:00
Maschell
2c1586b4e9 Fix button mapping for button combo detection 2025-02-08 13:14:17 +01:00
Maschell
2db2247806 ButtonComboApi: Use C++ APIs where possible 2025-02-08 13:14:17 +01:00
Maschell
232f51ae68 ButtonComboAPI: Hold duration is now measure in ms instead of frames 2025-02-08 13:14:17 +01:00
Maschell
4919c5f98c Fix move constructor/operator to properly release the combo handle, use std::forward_list instead of vector for the list 2025-02-08 13:14:17 +01:00
Maschell
930df8748f Clean up includes 2025-02-08 13:14:17 +01:00
Maschell
cd92e47b9d Add ButtonComboAPI support 2025-02-08 13:14:17 +01:00
Maschell
6565585d18 Fix compiling 2025-02-08 13:14:17 +01:00
Maschell
c8cf7c73eb Bump version to 0.3.5 2025-02-08 13:14:17 +01:00
Maschell
82445acaf0 Fix json parsing error handling, other small fixes 2025-02-08 13:14:17 +01:00
Maschell
d989801b36 More fixes and changes 2025-02-08 13:14:17 +01:00
Maschell
89012aae29 Render simple safe mode screen 2025-02-08 13:14:17 +01:00
Maschell
aa399bef0f Improve logging 2025-02-08 13:14:17 +01:00
Maschell
bb8e84088c Add simple "safe mode" which disable all non-basearoma plugins 2025-02-08 13:14:17 +01:00
Maschell
284f41db54 Fix config menu when no plugins are loaded, improve UI 2025-02-08 13:14:17 +01:00
Maschell
a92dae2574 Add initial support for persisting a lsit inactive plugins 2025-02-08 13:14:17 +01:00
Maschell
ab7169e3c9 Reset active state in config menu when active selection is aborted (by pressing B or home) 2025-02-08 13:14:17 +01:00
Maschell
a4d5423955 Add homebrew_on_menu to the list of allowed plugins 2025-02-08 13:14:17 +01:00
Maschell
aa3248d338 Preserve disabled plugins when wiiloading a new plugin 2025-02-08 13:14:17 +01:00
Maschell
b645e1ce52 Only return active plugins in WUPSGetLoadedPlugins 2025-02-08 13:14:17 +01:00
Maschell
07a3009d54 Use bulleye char for checkbox 2025-02-08 13:14:17 +01:00
Maschell
dfa2d084a3 Add support for B-button in active-mode-screen 2025-02-08 13:14:17 +01:00
Maschell
7802937943 Initial support for disabling/enabling plugins in config menu 2025-02-08 13:14:17 +01:00
Maschell
98f182501c Only check for config menu if the plugin is linked and loaded 2025-02-08 13:14:17 +01:00
Maschell
aef2ccc628 Only show active plugins in config menu 2025-02-08 13:14:17 +01:00
Maschell
7542222ecb Fix isLinkAndLoaded check 2025-02-08 13:14:17 +01:00
Maschell
84f9c4fab9 Save info is plugin is linked and loaded inside config info 2025-02-08 13:14:17 +01:00
Maschell
eb648ffe21 Make PluginLinkInformation not optional anymore in PluginContainer, add stub link data if missing 2025-02-08 13:14:17 +01:00
Maschell
574217eda2 Only link allowed plugins for testing 2025-02-08 13:14:17 +01:00
Maschell
e1d77a971e Rename PluginInformation to PluginLinkInformation and make it optional in PluginContainer 2025-02-08 13:14:17 +01:00
Daniel K. O.
54f8bdc538 Add WUPSConfigAPI_Menu_GetStatus() function. (#89)
* Add `WUPSConfigAPI_Menu_GetStatus()` function.

--HG--
branch : menu-status-api-hg

* Indentation fix.

--HG--
branch : menu-status-api-hg

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2025-02-08 13:14:17 +01:00
Maschell
d2c1530084 Update plugin (un)loading logic to keep plugins loaded if possible 2025-02-08 13:14:17 +01:00
Maschell
6f7afe387e Code cleanup 2025-02-08 13:14:17 +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