NDEVR
API Documentation
DS5W::_DS5InputState

Input state of the controler. More...

Collaboration diagram for DS5W::_DS5InputState:
[legend]

Public Attributes

Vector3 accelerometer
 Accelerometer.
Battery battery
 Battery information.
unsigned char buttonsA
 Button bitmask A (DS5W_ISTATE_BTN_A_?
unsigned char buttonsAndDpad
 Buttons and dpad bitmask DS5W_ISTATE_BTX_?
unsigned char buttonsB
 Button bitmask B (DS5W_ISTATE_BTN_B_?
Vector3 gyroscope
 Gyroscope (Currently only raw values will be dispayed!
bool headPhoneConnected
 Indicates the connection of headphone.
AnalogStick leftStick
 Position of left stick.
unsigned char leftTrigger
 Left trigger position.
unsigned char leftTriggerFeedback
 EXPERIMAENTAL: Feedback of the left adaptive trigger (only when trigger effect is active).
AnalogStick rightStick
 Posisiton of right stick.
unsigned char rightTrigger
 Right trigger position.
unsigned char rightTriggerFeedback
 EXPERIMAENTAL: Feedback of the right adaptive trigger (only when trigger effect is active).
Touch touchPoint1
 First touch point.
Touch touchPoint2
 Second touch point.

Detailed Description

Input state of the controler.

Definition at line 301 of file DS5State.h.

Member Data Documentation

◆ buttonsA

unsigned char DS5W::_DS5InputState::buttonsA

Button bitmask A (DS5W_ISTATE_BTN_A_?

?)

Definition at line 330 of file DS5State.h.

◆ buttonsAndDpad

unsigned char DS5W::_DS5InputState::buttonsAndDpad

Buttons and dpad bitmask DS5W_ISTATE_BTX_?

? and DS5W_ISTATE_DPAD_?? indices check with if(buttonsAndDpad & DS5W_ISTATE_DPAD_??)...

Definition at line 325 of file DS5State.h.

◆ buttonsB

unsigned char DS5W::_DS5InputState::buttonsB

Button bitmask B (DS5W_ISTATE_BTN_B_?

?)

Definition at line 335 of file DS5State.h.

◆ gyroscope

Vector3 DS5W::_DS5InputState::gyroscope

Gyroscope (Currently only raw values will be dispayed!

Probably needs calibration (Will be done within the lib in the future))

Definition at line 346 of file DS5State.h.


The documentation for this struct was generated from the following file: