Skip to content

raylib.GetGamepadAxisCount

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get gamepad axis count

Parameters

Parameter Default Value Note
gamepad 0

Return value

Condition Return Value
(always) number

Notes

Example

n = raylib.GetGamepadAxisCount(0)
print "Gamepad 0 has " + n + " axes"

Clone this wiki locally