- do not loose initial auto-repeat status when acquiring the keyboard more than one time - support of DirectX 7's DIMOUSESTATE2 structure
diff --git a/include/dinput.h b/include/dinput.h index 4971037..bf65d1f 100644 --- a/include/dinput.h +++ b/include/dinput.h
@@ -877,6 +877,14 @@ BYTE rgbButtons[4]; } DIMOUSESTATE; +/* "Standard" Mouse report for DInput 7... */ +typedef struct DIMOUSESTATE2 { + LONG lX; + LONG lY; + LONG lZ; + BYTE rgbButtons[8]; +} DIMOUSESTATE2; + #define DIMOFS_X FIELD_OFFSET(DIMOUSESTATE, lX) #define DIMOFS_Y FIELD_OFFSET(DIMOUSESTATE, lY) #define DIMOFS_Z FIELD_OFFSET(DIMOUSESTATE, lZ)