Difference between revisions of "Lua:setXBox360ControllerVibration"
Jump to navigation
Jump to search
(Created page with 'Category:Lua '''function''' setXBox360ControllerVibration(''ControllerID'', ''leftMotor'', ''rightMotor'') Sets the speed of the left and right vibrating motor inside the co…') |
(No difference)
|
Latest revision as of 13:27, 31 January 2018
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 |