From 1dd09b7a82cf876808614f2f53ecce65ee8442fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger?= Date: Mon, 28 Aug 2017 15:07:27 +0200 Subject: [PATCH] Changed function prototype of callbacks --- ViGEmClient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ViGEmClient.h b/ViGEmClient.h index c7e2328..c240077 100644 --- a/ViGEmClient.h +++ b/ViGEmClient.h @@ -53,13 +53,13 @@ typedef struct _VIGEM_CLIENT_T *PVIGEM_CLIENT; typedef struct _VIGEM_TARGET_T *PVIGEM_TARGET; typedef VOID(CALLBACK* PVIGEM_X360_NOTIFICATION)( - ULONG Index, + PVIGEM_TARGET Target, UCHAR LargeMotor, UCHAR SmallMotor, UCHAR LedNumber); typedef VOID(CALLBACK* PVIGEM_DS4_NOTIFICATION)( - ULONG Index, + PVIGEM_TARGET Target, UCHAR LargeMotor, UCHAR SmallMotor, DS4_LIGHTBAR_COLOR LightbarColor);