From 3819088b35d6da1ae5d44abca1a1bc1725874835 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 31 Dec 2024 14:10:41 +0100 Subject: [PATCH] Update the combo callback to include the controller which triggered the callback --- include/buttoncombo/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/buttoncombo/defines.h b/include/buttoncombo/defines.h index c868223..020bb46 100644 --- a/include/buttoncombo/defines.h +++ b/include/buttoncombo/defines.h @@ -123,7 +123,7 @@ typedef struct ButtonComboModule_DetectButtonComboOptions { ButtonComboModule_Buttons abortButtonCombo; } ButtonComboModule_DetectButtonComboOptions; -typedef void (*ButtonComboModule_ComboCallback)(ButtonComboModule_ComboHandle handle, void *context); +typedef void (*ButtonComboModule_ComboCallback)(ButtonComboModule_ControllerTypes triggeredBy, ButtonComboModule_ComboHandle handle, void *context); #define BUTTON_COMBO_MODULE_COMBO_OPTIONS_VERSION 1 #define BUTTON_COMBO_MODULE_API_VERSION_ERROR (-0xFF)