Microsoft DirectX 9.0 SDK Update (October 2004)

Mouse Enumeration

Language:

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

The following constants are used in the dwSemantic member of the Diaction structure to map an action to a physical axis or button on a mouse.

Definition

Visual Basic .NET Public Enum Mouse
C# public enum Mouse
Managed C++ __value public enum Mouse
JScript .NET public enum Mouse

Members

Member Value Description
Button7 -2113928173
Button6 -2113928174
Button5 -2113928175
Button4 -2113928176
Button3 -2113928177
Button2 -2113928178
Button1 -2113928179
Button0 -2113928180
Wheel -2113928440
YAxis -2113928444
XAxis -2113928448
YAxisAB -2113928700
XAxisAB -2113928704

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