MouseOffset Enumeration
|
Language: |
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 |
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