Lua:setXBox360ControllerVibration
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
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 |