MouseOffset Enumeration (Microsoft.DirectX.DirectInput)

Mouse device constants, defined in Dinput.h, represent offsets within a mouse device's data packet, the Dimousestate or Dimousestate2 structure.

Definition

Visual Basic Public Enum MouseOffset
C# public enum MouseOffset
C++ public enum class MouseOffset
JScript public enum MouseOffset

Members

Member Value Description
Y 4
X 0
Button7 19 Dimousestate2 only
Button6 18 Dimousestate2 only
Button5 17 Dimousestate2 only
Button4 16 Dimousestate2 only
Button3 15
Button2 14
Button1 13
Button0 12
Z 8

Enumeration Information

Namespace Microsoft.DirectX.DirectInput
Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name Microsoft.DirectX.DirectInput,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492