Mouse Enumeration

Language:

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 Public Enum Mouse
C# public enum Mouse
C++ public enum class Mouse
JScript 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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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