This function will return the number of "axis" controls on the device being checked. These controls are the analogue direction "thumbsticks" on most controllers.
|device||Which gamepad device "slot" to check.|
axis = gamepad_axis_count(0))
The above code stores the number of axes available for the gamepad connected to device "slot" 0 in the variable "axis".