Joy numaxes

From Bennu Wiki
(Redirected from Joy axes)
Jump to: navigation, search


Syntax

INT joy_numaxes ( [ <INT JoyID> ] )

Description

Returns the number of axes on the specified joystick. If no joystick is specified, the number of axes on the currently selected joystick will be returned.

The JoyID is optional, if it is not present, the function uses the selected joystick. You can change the selected joystick with joy_select().

Also called joy_axes().

Parameters

[INT JoyID] - The JoyID of the joystick.

Returns

INT : The number of axes.


Mod_joy
Constants None
Imported:
JOYHATCENTEREDJOYHATDOWNJOYHATLEFTJOYHATLEFTDOWNJOYHATLEFTUPJOYHATRIGHTJOYHATRIGHTDOWNJOYHATRIGHTUPJOYHATUP
Functions Getjoyposition()Joyaxes()Joybuttons()Joygetaxis()Joygetball()Joygetbutton()Joygethat()Joyname()Joynumaxes()Joynumballs()Joynumber()Joynumbuttons()Joynumhats()Joynumjoysticks()Joyselect()