Joy number

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


Syntax

INT joy_number ( )

Description

Returns the number of joysticks present in the system.

Also called joy_numjoysticks(). The previous name number_joy() is deprecated.

Returns

INT : The number of joysticks present in the system.


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