From 8e1c883826f2a3dde582a7c1514d4cd11314bfd2 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 31 Dec 2024 12:52:14 +0100 Subject: [PATCH] ButtonComboAPI: Added "triggeredBy param to combo callback --- include/wups/button_combo/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wups/button_combo/defines.h b/include/wups/button_combo/defines.h index 7348008..0396f0f 100644 --- a/include/wups/button_combo/defines.h +++ b/include/wups/button_combo/defines.h @@ -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;