ButtonComboAPI: Added "triggeredBy param to combo callback

This commit is contained in:
Maschell 2024-12-31 12:52:14 +01:00
parent f173fc65e9
commit c2a877e3f8

View File

@ -114,7 +114,7 @@ typedef struct WUPSButtonCombo_ComboHandle {
#endif #endif
} WUPSButtonCombo_ComboHandle; } 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 { typedef struct WUPSButtonCombo_MetaOptions {
const char *label; const char *label;