Controller Class | 
Namespace: Demo3D.Input
public class Controller
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.  | 
| Name | Description | |
|---|---|---|
| GetControllers | 
            Get the list of controllers currently connected to the system.
              | |
| Poll | 
            Get the latest state and return true if the state has changed.
              | |
| SetVibration | 
            Set the vibration speed of the left and right side of the game controller.
            The values can vary between 0 and 1 with 0 meaning no vibration and 1 meaning maximum vibration.
              |