333 Commits

Author SHA1 Message Date
Maschell
481c6c477c WUPSConfigItemButtonCombo: Fix abortng button combo detection (hopefully for real) 2025-01-05 16:02:46 +01:00
Maschell
5793d3d906 WUPSConfigItemButtonCombo: Fix displaying the correct hold duration to set a new button combo 2025-01-05 16:02:46 +01:00
Maschell
d23e2c1467 WUPSConfigItemButtonCombo: Only log errors on failure when setting the combo 2025-01-05 16:02:46 +01:00
Maschell
abd9aba259 WUPSConfigItemButtonCombo: Fix string representation of additional wiimote buttons 2025-01-05 16:02:46 +01:00
Maschell
3fb52d6f37 WUPSButtonComboAPI: Fix some C++ functions 2025-01-05 16:02:46 +01:00
Maschell
a29cd016c2 WUPSButtonComboAPI: Add support for GetControllerTypeStr 2025-01-05 16:02:46 +01:00
Maschell
1569d27eca ButtonComboAPI: Add missing wiimote buttons 2025-01-04 12:43:21 +01:00
Maschell
27b0d905ba WUPSConfigItemButtonCombo: Fix aborting combo detection 2025-01-04 12:39:50 +01:00
Maschell
7b31373dbe ButtonComboAPI: Move button combo API into it's own namespace 2025-01-01 15:42:04 +01:00
Maschell
67b84311b3 ButtonComboAPI: Add C++ wrapper for button combo api 2024-12-31 12:56:06 +01:00
Maschell
8e1c883826 ButtonComboAPI: Added "triggeredBy param to combo callback 2024-12-31 12:56:06 +01:00
Maschell
332494d478 ButtonComboAPI: Split up header into api and defines, move into directory 2024-12-31 12:56:06 +01:00
Maschell
6e1c40fc39 ConfigAPI: release handle in move operator/constructor before overwriting it. 2024-12-30 14:18:51 +01:00
Maschell
5dc33a32ff ButtonComboAPI: Hold duration is now measure in ms instead of frames 2024-12-30 14:08:20 +01:00
Maschell
5a62c347d2 Add additional includes back to config_api.h 2024-12-30 14:08:20 +01:00
Maschell
f71cb8c0bf example_plugin: Add missing include 2024-12-26 15:28:34 +01:00
Maschell
ff2cf0062f Initial implementation of WUPSButtonComboAPI 2024-12-26 15:28:34 +01:00
Maschell
8db6ade6cb Revert LTO because it's caused plugins to use LTO unless they specificed "-fno-lto" 2024-12-26 15:28:34 +01:00
Maschell
6c7937613a Bump plugin version to 0.8.2 2024-12-26 15:28:34 +01:00
Maschell
6fa6b3fc7d Fix formatting 2024-12-26 15:28:34 +01:00
Ash
276d923569
Enable LTO build (#77)
* fix(Makefile): Don't double up on optimisation flags

This is already provided by BUILD_CFLAGS later on

* feat(common): Mark explicitly-placed things as used

If we put something in a given section, we should be able to expect it to actually turn up in that section!

Doing this will prevent LTO from slurping all the hooks away as "unused".

* feat: Enable LTO

This uses "fat" binaries, so normal builds won't break, but also includes the LTO data for builds that wish to use it
2024-12-14 11:11:07 +01:00
Daniel K. O.
1ac579aebb
Add WUPSConfigAPI_GetMenuOpen() to detect if the config menu is open. (#76)
* Add `WUPSConfigAPI_IsMenuOpen()` to detect if the config menu is open.

* Changed function signature and name to match other functions.

* - Renamed function from `WUPSConfigAPI_GetMenuOpen()` to `WUPSConfigAPI_GetMenuOpen()`.
- Changed result type from `BOOL` to `WUPSConfigAPIMenuStatus` enum.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-11-28 19:43:24 +01:00
Maschell
74205ee081 Update Dockerfiles 2024-05-05 14:41:06 +02:00
Maschell
e9f5674f62 Bump version to 0.8.1 2024-05-05 14:41:06 +02:00
Maschell
f871b7f228 StorageAPI: Update documentation and fix storage test plugin 2024-05-05 14:41:06 +02:00
Maschell
d9c64bfddd Bump actions/checkout from 3 to 4 2024-05-05 14:41:06 +02:00
Maschell
967f42be43 Config: Update WUPSConfigComplexPadData to hold information for all 7 possible kpads 2024-05-05 14:41:06 +02:00
Maschell
3c26ecd473 Fix DEBUG flag check in example plugin 2024-04-25 13:57:35 +02:00
Maschell
989b129834 Fix move operator for WUPSConfigItem 2024-04-25 13:57:35 +02:00
Maschell
5de93f178a Fix move operator for WUPSConfigCategory 2024-04-25 13:57:35 +02:00
Maschell
6b5c2ab95e StorageAPI: Make sure to call noexcept version of CreateSubItem in GetOrCreateSubItem 2024-04-25 13:57:35 +02:00
Maschell
fe1c4aa671 Fix small typo in storage test 2024-04-25 13:57:35 +02:00
Maschell
284713c9f6 Fix WUPSConfigItemMultipleValues::CreateFromValue 2024-04-25 13:57:35 +02:00
Maschell
c3f5bd8d7b StorageAPI: Add support for loading/storing empty strings/binaries 2024-04-25 13:57:35 +02:00
Maschell
83bb5e9d27 StorageAPI: Avoid -Wunused-parameter 2024-04-25 13:57:35 +02:00
Maschell
6f53d72e2d StorageAPI: Add different "modes" for reading binary and string data into an buffer (C++ API only) 2024-04-25 13:57:35 +02:00
Maschell
f534559706 StorageAPI: Change WUPSStorageAPI_GetItemSize to add item type 2024-04-25 13:57:35 +02:00
Maschell
7ef3bfa9bc Add documentation of StorageAPI 2024-04-25 13:57:35 +02:00
Maschell
6879d15ce4 StorageAPI improvements 2024-04-25 13:57:35 +02:00
Maschell
dba2b584fd Example: Update the existing example_plugin and add C++ example plugin 2024-04-25 13:57:35 +02:00
Maschell
332ec41488 Change version to 0.8.0 2024-04-25 13:57:35 +02:00
Maschell
aed8b5af43 ConfigAPI: Some more changes, added C++ Wrapper 2024-04-25 13:57:35 +02:00
Maschell
4d9f28c1ae example_plugin: Update to use the new config api 2024-04-25 13:57:35 +02:00
Maschell
ba3cd165dd New config API 2024-04-25 13:57:35 +02:00
Maschell
d84fd56329 Free config items properly on early return 2024-04-25 13:57:35 +02:00
Maschell
a56d1698b3 Implement __assert_func and __assert, improve abort() 2024-04-25 13:57:35 +02:00
Maschell
5fc4875b35 Publish dev docker images 2024-04-25 13:57:35 +02:00
Maschell
c66d73efe4 Add storage_test_plugin 2024-04-25 13:57:35 +02:00
Maschell
58a2d3f734 Rewrite of the StorageAPI 2024-04-25 13:57:35 +02:00
Maschell
f0bf943f72 Add missing OSFatal declaration 2023-07-19 15:20:26 +02:00