summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyzz2016-10-01 18:23:04 +0200
committerGitHub2016-10-01 18:23:04 +0200
commitd11ccdb73d68a71b77e18e2776124f9c036e71bf (patch)
tree8ca339ddaf7a66ca34515468fc3929f0b8438a3d
parentMerge pull request #56 from d3m3vilurr/patch-1 (diff)
parentUpdate SceCtrlActuator (diff)
downloadvds-libraries-d11ccdb73d68a71b77e18e2776124f9c036e71bf.tar.gz
Merge pull request #63 from d3m3vilurr/update-actuator-struct
Update SceCtrlActuator
-rw-r--r--include/user/ctrl.h5
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 */