Lua:setXBox360ControllerVibration
Revision as of 13:27, 31 January 2018 by FreeER (talk | contribs) (Created page with 'Category:Lua '''function''' setXBox360ControllerVibration(''ControllerID'', ''leftMotor'', ''rightMotor'') Sets the speed of the left and right vibrating motor inside the co…')
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 |