From a0449a5f64934f6cadd274f6c9442dd72a87b1e8 Mon Sep 17 00:00:00 2001 From: Jesse Allen Date: Sun, 23 Aug 2009 15:07:38 -0600 Subject: [PATCH] dinput: Add DISEQUENCE_COMPARE macro. --- include/dinput.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dinput.h b/include/dinput.h index 05640bd42aa..8c557eb9f0b 100644 --- a/include/dinput.h +++ b/include/dinput.h @@ -634,6 +634,8 @@ typedef BOOL (CALLBACK *LPDIENUMCREATEDEFFECTOBJECTSCALLBACK)(LPDIRECTINPUTEFFEC #define DIGDD_PEEK 0x00000001 +#define DISEQUENCE_COMPARE(dwSq1,cmp,dwSq2) ((int)((dwSq1) - (dwSq2)) cmp 0) + typedef struct DIDEVICEOBJECTDATA_DX3 { DWORD dwOfs; DWORD dwData;