JoystickOffset Enumeration
Language: Visual Basic C# C++ JScript (Show All)
Definition
Visual Basic
Public Enum JoystickOffset
C#
public enum JoystickOffset
C++
public enum class JoystickOffset
JScript
public enum JoystickOffset
Members
Member
Value
Description
Y
4
X
0
Button62
110
Button61
109
Button60
108
Button59
107
Button58
106
Button57
105
Button56
104
Button55
103
Button54
102
Button53
101
Button52
100
Button51
99
Button50
98
Button49
97
Button48
96
Button47
95
Button46
94
Button45
93
Button44
92
Button43
91
Button42
90
Button41
89
Button40
88
Button39
87
Button38
86
Button37
85
Button36
84
Button35
83
Button34
82
Button33
81
Button32
80
Button31
79
Button30
78
Button29
77
Button28
76
Button27
75
Button26
74
Button25
73
Button24
72
Button23
71
Button22
70
Button21
69
Button20
68
Button19
67
Button18
66
Button17
65
Button16
64
Button15
63
Button14
62
Button13
61
Button12
60
Button11
59
Button10
58
Button9
57
Button8
56
Button7
55
Button6
54
Button5
53
Button4
52
Button3
51
Button2
50
Button1
49
Button0
48
PointOfView3
44
PointOfView2
40
PointOfView1
36
PointOfView0
32
Slider1
28
Two additional axis values (formerly called the u-axis and v-axis) whose semantics depend on the joystick. Use the Inputdevice9Getobjectinfo method to obtain semantic information about these values.
Slider0
24
Two additional axis values (formerly called the u-axis and v-axis) whose semantics depend on the joystick. Use the Inputdevice9Getobjectinfo method to obtain semantic information about these values.
RZ
20
Z-axis rotation (often called the rudder). If the joystick does not have this axis, the value is 0.
RY
16
Y-axis rotation. If the joystick does not have this axis, the value is 0.
RX
12
X-axis rotation. If the joystick does not have this axis, the value is 0.
Z
8
Button128
176
Button127
175
Button126
174
Button125
173
Button124
172
Button123
171
Button122
170
Button121
169
Button120
168
Button119
167
Button118
166
Button117
165
Button116
164
Button115
163
Button114
162
Button113
161
Button112
160
Button111
159
Button110
158
Button109
157
Button108
156
Button107
155
Button106
154
Button105
153
Button104
152
Button103
151
Button102
150
Button101
149
Button100
148
Button99
147
Button98
146
Button97
145
Button96
144
Button95
143
Button94
142
Button93
141
Button92
140
Button91
139
Button90
138
Button89
137
Button88
136
Button87
135
Button86
134
Button85
133
Button84
132
Button83
131
Button82
130
Button81
129
Button80
128
Button79
127
Button78
126
Button77
125
Button76
124
Button75
123
Button74
122
Button73
121
Button72
120
Button71
119
Button70
118
Button69
117
Button68
116
Button67
115
Button66
114
Button65
113
Button64
112
Button63
111
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