|device||Which gamepad device "slot" to check.|
This function will return the number of "axis" controls on the
device being checked. These controls are the analogue direction
"thumbsticks" on most controllers.
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".