Part of StarfallEx namespace
๐ External
hook.add("XInputTrigger", "name", function(id, value, trigger, when) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when a trigger on the controller has moved. Client must have XInput Lua binary installed.
Parameters
| Name | Type | Description |
|---|---|---|
id | number | Controller number. Starts at 0 |
value | number | The position of the trigger. 0-255 inclusive |
trigger | number | The trigger that was moved. 0 is left |
when | number | The timer.realtime() at which this event occurred. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.