I hooked up all my controllers and output all the component information as well as rumble test.
One thing I find interesting is the 360 controller is considered a gamepad but the Logitech is considered a stick even though both controllers are almost identical. The rumbler doesn’t show up for the 360 controller and the triggers don’t show up as buttons.
The thing that really got me puzzled is the Y Rotation, X Rotation and the Z Axis for the 360 controller. The controller has two analog sticks but we have three different things to read from the second stick. This is assuming X Axis and Y Axis is for the first analog stick.
Should I just ignore the Z Axis on the 360 controller?
Gamepad controller: Controller (Xbox 360 Wireless Receiver for Windows), Gamepad
Component: Y Axis, y
Component: X Axis, x
Component: Y Rotation, ry
Component: X Rotation, rx
Component: Z Axis, z
Component: Button 0, 0
Component: Button 1, 1
Component: Button 2, 2
Component: Button 3, 3
Component: Button 4, 4
Component: Button 5, 5
Component: Button 6, 6
Component: Button 7, 7
Component: Button 8, 8
Component: Button 9, 9
Component: Hat Switch, pov
Gamepad controller: Logitech Dual Action, Stick
Component: Z Rotation, rz
Component: Z Axis, z
Component: Y Axis, y
Component: X Axis, x
Component: Hat Switch, pov
Component: Button 0, 0
Component: Button 1, 1
Component: Button 2, 2
Component: Button 3, 3
Component: Button 4, 4
Component: Button 5, 5
Component: Button 6, 6
Component: Button 7, 7
Component: Button 8, 8
Component: Button 9, 9
Component: Button 10, 10
Component: Button 11, 11