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

SFEX.hook.XInputReleased

C๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("XInputReleased", "name", function(id, button, when) end)
View on GitHub|lua/starfall/libs_cl/xinput.lua:30
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called when a controller button has been released. Client must have XInput Lua binary installed.

Parameters

NameTypeDescription
idnumberController number. Starts at 0
buttonnumberThe button that was released. See https://github.com/mitterdoo/garrysmod-xinput#xinput_gamepad_
whennumberThe timer.realtime() at which this event occurred.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.