inpSetVibration

Category: Input

Syntax:

inpSetVibration:Void(controller:Int, leftSpeed:Int, rightSpeed:Int)


Parameters

Returns

Void



Summary

Sets continuous vibration on both controller motors.

Takes controller (Int), leftSpeed (Int from 0 to 65535), rightSpeed (Int from 0 to 65535).

Returns nothing.

View detailed documentation online



Example

;No example implemented yet



On the Web

Works in Edge and Chrome; in other browsers it does nothing. The rumble keeps going until stopped, as long as the program keeps updating the controller (sysUpdateEvents). See game controllers on the web.


BambooBasic © 2026 Michael Denathorn