diff options
author | Sunguk Lee | 2016-10-02 00:52:57 +0900 |
---|---|---|
committer | Sunguk Lee | 2016-10-02 01:18:31 +0900 |
commit | 3dbabd8c3cba27af5f9de5b3082301ac13703fdb (patch) | |
tree | 8ca339ddaf7a66ca34515468fc3929f0b8438a3d /include/user/ctrl.h | |
parent | Merge pull request #56 from d3m3vilurr/patch-1 (diff) | |
download | vds-libraries-3dbabd8c3cba27af5f9de5b3082301ac13703fdb.tar.gz |
Update SceCtrlActuator
`enable` field split to `small` and `large`
These fields mean motor strength, and can be 0 to 0xff
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r-- | include/user/ctrl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h index 90eb4d8..0b70b71 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -91,8 +91,9 @@ typedef struct SceCtrlRapidFireRule { /** Structure to pass as argument to ::sceCtrlSetActuator */ typedef struct SceCtrlActuator { - int enable; //!< Enable the actuator vibration - int unk; //!< Unknown + unsigned char small; //!< Vibration strength of the small motor + unsigned char large; //!< Vibration strength of the large motor + uint8_t unk[6]; //!< Unknown } SceCtrlActuator; /** Structure to pass as argument to ::sceCtrlGetControllerPortInfo */ |