Part of StarfallEx namespace
๐ External
joystick.getAxis(enum, axis)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Gets the axis data value.
Parameters
| Name | Type | Description |
|---|---|---|
enum | number | Joystick number. Starts at 0 |
axis | number | Joystick axis number. Ranges from 0 to 7. |
Returns
| Type | Description |
|---|---|
number | 0 - 65535 where 32767 is the middle. |
Examples
No examples available.
Used In
No usages found in the codebase.