gamepad_axis_count


Description

This function will return the number of "axis" controls on the device being checked. These controls are the analogue direction "thumbsticks" on most controllers.


Syntax:

gamepad_axis_count(device);

Argument Description
device Which gamepad device "slot" to check.


Returns:

Real


Example:

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".