Lua:setXBox360ControllerVibration

From Cheat Engine
Jump to navigation Jump to search

function setXBox360ControllerVibration(ControllerID, leftMotor, rightMotor)

Sets the speed of the left and right vibrating motor inside the controller. Range (0 to 65535 where 0 is off)

Function Parameters[edit]

Parameter Type Description
ControllerID integer the id of the controller (between 0 and 3)
leftMotor integer (0 to 65535) speed of the left motor
rightMotor integer (0 to 65535) speed of the right motor


See also[edit]

Related Functions[edit]