Controller Properties |
The Controller type exposes the following members.
| Name | Description | |
|---|---|---|
| Buttons | Array of button states where true means pressed, false means not pressed. | |
| DeviceType | The type of game controller device. | |
| Name | Name of the game controller. | |
| POVs | 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. | |
| ProductName | ProductName of the game controller. | |
| RX | X rotation between -1 and 1. | |
| RY | Y rotation between -1 and 1. | |
| RZ | Z rotation between -1 and 1. | |
| Sliders | Array of slider states between -1 and 1. | |
| X | X axis between -1 and 1. | |
| Y | Y axis between -1 and 1. | |
| Z | Z axis between -1 and 1. |