From 3dbabd8c3cba27af5f9de5b3082301ac13703fdb Mon Sep 17 00:00:00 2001 From: Sunguk Lee Date: Sun, 2 Oct 2016 00:52:57 +0900 Subject: Update SceCtrlActuator `enable` field split to `small` and `large` These fields mean motor strength, and can be 0 to 0xff --- include/user/ctrl.h | 5 +++-- 1 file 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 */ -- cgit v1.2.3