Click or drag to resize

Controller Properties

The Controller type exposes the following members.

Properties
  NameDescription
Public propertyButtons
Array of button states where true means pressed, false means not pressed.
Public propertyDeviceType
The type of game controller device.
Public propertyName
Name of the game controller.
Public propertyPOVs
Array of point of view directional controllers, null means not pressed otherwise value is the angle in degrees where 0 is N, 90 is E, 180 is S, 270 is W.
Public propertyProductName
ProductName of the game controller.
Public propertyRX
X rotation between -1 and 1.
Public propertyRY
Y rotation between -1 and 1.
Public propertyRZ
Z rotation between -1 and 1.
Public propertySliders
Array of slider states between -1 and 1.
Public propertyX
X axis between -1 and 1.
Public propertyY
Y axis between -1 and 1.
Public propertyZ
Z axis between -1 and 1.
Top
See Also