From 72d1eb475c47c302aa2f9a60bf2ebe7916f5e95b Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Thu, 2 Sep 2004 22:57:21 +0000 Subject: [PATCH] Added some missing defines. --- include/dinput.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dinput.h b/include/dinput.h index f5b51496c0b..50f6c540cb1 100644 --- a/include/dinput.h +++ b/include/dinput.h @@ -1582,6 +1582,10 @@ typedef struct DIMOUSESTATE2 { #define DIMOFS_BUTTON1 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 1) #define DIMOFS_BUTTON2 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 2) #define DIMOFS_BUTTON3 (FIELD_OFFSET(DIMOUSESTATE, rgbButtons) + 3) +#define DIMOFS_BUTTON4 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 4) +#define DIMOFS_BUTTON5 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 5) +#define DIMOFS_BUTTON6 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 6) +#define DIMOFS_BUTTON7 (FIELD_OFFSET(DIMOUSESTATE2, rgbButtons) + 7) #ifdef __cplusplus extern "C" {