![]() |
NDEVR
API Documentation
|
Input state of the controler. More...
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. | |
Input state of the controler.
Definition at line 301 of file DS5State.h.
| unsigned char DS5W::_DS5InputState::buttonsA |
| 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.
| unsigned char DS5W::_DS5InputState::buttonsB |
| 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.