SCA_VibrationActuator
Base class: SCA_IActuator
Vibration Actuator.
joyindex
Section titled “joyindex”Joystick index.
Type: integer (0 to 7)
strengthLeft
Section titled “strengthLeft”Strength of the Low frequency joystick’s motor (placed at left position usually).
Type: float (0.0 to 1.0)
strengthRight
Section titled “strengthRight”Strength of the High frequency joystick’s motor (placed at right position usually).
Type: float (0.0 to 1.0)
duration
Section titled “duration”Duration of the vibration in milliseconds.
Type: integer (0 to infinite)
isVibrating
Section titled “isVibrating”Check status of joystick vibration
Type: bool (true vibrating and false stopped)
hasVibration
Section titled “hasVibration”Check if the joystick supports vibration
Type: bool (true supported and false not supported)
startVibration()
Section titled “startVibration()”Starts the vibration.
Returns: None
stopVibration()
Section titled “stopVibration()”Stops the vibration.
Returns: None
