Microsoft DirectX 9.0 SDK Update (October 2004)

MouseOffset Enumeration

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Enum MouseOffset
C# public enum MouseOffset
Managed C++ __value public enum MouseOffset
JScript .NET 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center