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

SFEX.joystick.getButton

C๐Ÿท๏ธ Joystick

Part of StarfallEx namespace

๐Ÿ”— External
joystick.getButton(enum, button)
View on GitHub|lua/starfall/libs_cl/joystick.lua:46
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Returns if the button is pushed or not

Parameters

NameTypeDescription
enumnumberJoystick number. Starts at 0
buttonnumberJoystick button number. Starts at 0

Returns

TypeDescription
number0 or 1

Examples

No examples available.

Used In

No usages found in the codebase.