DS5InputState

<summary> Input state of the controler </summary>

Members

Variables

accelerometer
Vector3 accelerometer;

<summary> Accelerometer </summary>

battery
Battery battery;

<summary> Battery information </summary>

buttonsA
ubyte buttonsA;

<summary> Button bitmask A (DS5W_ISTATE_BTN_A_??) </summary>

buttonsAndDpad
ubyte buttonsAndDpad;

<summary> Buttons and dpad bitmask DS5W_ISTATE_BTX_?? and DS5W_ISTATE_DPAD_?? indices check with if(buttonsAndDpad & DS5W_ISTATE_DPAD_??)... </summary>

buttonsB
ubyte buttonsB;

<summary> Button bitmask B (DS5W_ISTATE_BTN_B_??) </summary>

gyroscope
Vector3 gyroscope;

<summary> Gyroscope (Currently only raw values will be dispayed! Probably needs calibration (Will be done within the lib in the future)) </summary>

headPhoneConnected
bool headPhoneConnected;

<summary> Indicates the connection of headphone </summary>

leftStick
AnalogStick leftStick;

<summary> Position of left stick </summary>

leftTrigger
ubyte leftTrigger;

<summary> Left trigger position </summary>

leftTriggerFeedback
ubyte leftTriggerFeedback;

<summary> EXPERIMAENTAL: Feedback of the left adaptive trigger (only when trigger effect is active) </summary>

rightStick
AnalogStick rightStick;

<summary> Posisiton of right stick </summary>

rightTrigger
ubyte rightTrigger;

<summary> Right trigger position </summary>

rightTriggerFeedback
ubyte rightTriggerFeedback;

<summary> EXPERIMAENTAL: Feedback of the right adaptive trigger (only when trigger effect is active) </summary>

touchPoint1
Touch touchPoint1;

<summary> First touch point </summary>

touchPoint2
Touch touchPoint2;

<summary> Second touch point </summary>

Meta