Maschell
983616af90
Update documentation of button combo API
2025-02-08 12:35:54 +01:00
Maschell
02282ee0ae
Add missing import
2025-02-08 12:35:54 +01:00
Maschell
15b9f0242c
ButtonComboAPI: Add Metaoptions class for C++ api to get/update meta options
2025-02-08 12:35:54 +01:00
Maschell
e042b420c5
WUPSButtonAPI: Check the button combo status after potentially updating the combo
2025-02-08 12:35:54 +01:00
Maschell
315fad5b42
ConfigAPI: Clean up
2025-02-08 12:35:54 +01:00
Maschell
ed37f28bd4
ConfigAPI: Check the version of the config api when getting the menu status
2025-02-08 12:35:54 +01:00
Maschell
e4289a172b
WUPSConfigItemButtonCombo: Fix displaying the conlict warning
2025-02-08 12:35:54 +01:00
Maschell
23da1e5b1a
WUPSConfigItemButtonCombo: Fix abortng button combo detection (hopefully for real)
2025-02-08 12:35:54 +01:00
Maschell
b9808dc955
WUPSConfigItemButtonCombo: Fix displaying the correct hold duration to set a new button combo
2025-02-08 12:35:54 +01:00
Maschell
4377488179
WUPSConfigItemButtonCombo: Only log errors on failure when setting the combo
2025-02-08 12:35:54 +01:00
Maschell
5cbcc77b58
WUPSConfigItemButtonCombo: Fix string representation of additional wiimote buttons
2025-02-08 12:35:54 +01:00
Maschell
e45d51318a
WUPSButtonComboAPI: Fix some C++ functions
2025-02-08 12:35:54 +01:00
Maschell
51a5bbd674
WUPSButtonComboAPI: Add support for GetControllerTypeStr
2025-02-08 12:35:54 +01:00
Maschell
bdfe4c37d1
WUPSConfigItemButtonCombo: Fix aborting combo detection
2025-02-08 12:35:54 +01:00
Maschell
ef159c37cc
ButtonComboAPI: Move button combo API into it's own namespace
2025-02-08 12:35:54 +01:00
Maschell
8e7dde33af
ButtonComboAPI: Add C++ wrapper for button combo api
2025-02-08 12:35:54 +01:00
Maschell
f173fc65e9
ButtonComboAPI: Split up header into api and defines, move into directory
2025-02-08 12:35:54 +01:00
Maschell
5214252a99
ConfigAPI: release handle in move operator/constructor before overwriting it.
2025-02-08 12:35:54 +01:00
Maschell
d9ce5d71b0
ButtonComboAPI: Hold duration is now measure in ms instead of frames
2025-02-08 12:35:54 +01:00
Maschell
1a42b79c4d
Initial implementation of WUPSButtonComboAPI
2025-02-08 12:35:54 +01:00
Daniel K. O.
8ddb5c404c
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>
2025-02-08 12:35:54 +01:00
Maschell
6b5c2ab95e
StorageAPI: Make sure to call noexcept version of CreateSubItem in GetOrCreateSubItem
2024-04-25 13:57:35 +02:00
Maschell
284713c9f6
Fix WUPSConfigItemMultipleValues::CreateFromValue
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
6879d15ce4
StorageAPI improvements
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
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
58a2d3f734
Rewrite of the StorageAPI
2024-04-25 13:57:35 +02:00
Maschell
80a9893f56
Make sure wut_get_thread_specific has been overriden properly
2023-07-19 15:08:42 +02:00
Maschell
b2ae19f572
Fix reent support
2023-06-22 16:27:58 +02:00
Maschell
e40d91fcec
StorageAPI: Only proccess items for the last returned sub category or root item.
2023-02-15 19:46:29 +01:00
Maschell
7f76e31e70
Revert "Avoid reallocations of the parent data for WUPS_STORAGE_TYPE_ITEM items."
2023-02-15 19:46:29 +01:00
Maschell
90d1e51922
StorageAPI: Rename pending_delete to deleted
2023-01-26 14:42:31 +01:00
Maschell
e7d3027cd6
StorageAPI: Set key of rootitem to NULL in WUPS_CloseStorage
2023-01-26 14:42:31 +01:00
Maschell
00f7bf0601
StorageAPI: Use strdup if possible
2023-01-26 14:42:31 +01:00
Maschell
52ac0d0c7a
StorageAPI: Use copy of plugin_id
2023-01-26 14:42:31 +01:00
Maschell
933e676c52
StorageAPI: Avoid reallocations of the parent data for WUPS_STORAGE_TYPE_ITEM items. This is dirty workaround to keep outPtr of WUPS_CreateSubItem always valid.
2023-01-26 14:42:31 +01:00
Maschell
8306df96ae
StorageAPI: Return an error if memory allocation fails
2023-01-26 14:42:31 +01:00
Maschell
db01bb37b2
StorageAPI: Improve closeStorage implementation
2023-01-26 14:42:31 +01:00
Maschell
d8644fe819
StorageAPI: Make sure the parent has the type WUPS_STORAGE_TYPE_ITEM
2023-01-26 14:42:31 +01:00
Maschell
0a427fd31c
StorageAPI: Set isDirty flag when WUPS_StoreBinary was called
2023-01-26 14:42:31 +01:00
Maschell
c867b01e4d
ConfigItems: Use strdup for string duplication, rename configID to configId in WUPSConfigItemMultipleValues
2022-09-24 18:58:27 +02:00
Maschell
e649e4c93d
ConfigItems: Add configId to all item structs
2022-09-24 18:58:27 +02:00
Maschell
b1a9ffcb32
Adds a stub WUPSConfigItem for displaying data
2022-09-19 00:52:01 +02:00
Maschell
7b9868bd0e
Fix potential memory leak when creating config items fails
2022-09-19 00:52:01 +02:00
Maschell
104e6e1249
Add WUPS_GetStorageStatusStr
2022-09-04 10:33:37 +02:00
Maschell
a2f75edfeb
Return WUPSStorageError enum instead of int for storage API
2022-09-04 10:33:37 +02:00
Maschell
d3cf0691ef
Add clang-format for formatting, check building the example in CI
2022-02-03 16:24:36 +01:00