Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.xinput.setRumble

C๐Ÿท๏ธ Xinput

Part of StarfallEx namespace

๐Ÿ”— External
xinput.setRumble(id, softPercent, hardPercent)
View on GitHub|lua/starfall/libs_cl/xinput.lua:137
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Sets the rumble on the controller.

Parameters

NameTypeDescription
idnumberController number. Starts at 0
softPercentnumberA number between 0.0-1.0 for how much the soft rumble motor should vibrate.
hardPercentnumberA number between 0.0-1.0 for how much the hard rumble motor should vibrate.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.