ButtonComboAPI: Added "triggeredBy param to combo callback

This commit is contained in:
Maschell 2024-12-31 12:52:14 +01:00
parent 332494d478
commit 8e1c883826

View File

@ -114,7 +114,7 @@ typedef struct WUPSButtonCombo_ComboHandle {
#endif
} WUPSButtonCombo_ComboHandle;
typedef void (*WUPSButtonCombo_ComboCallback)(WUPSButtonCombo_ComboHandle handle, void *context);
typedef void (*WUPSButtonCombo_ComboCallback)(WUPSButtonCombo_ControllerTypes triggeredBy, WUPSButtonCombo_ComboHandle handle, void *context);
typedef struct WUPSButtonCombo_MetaOptions {
const char *label;