Sphere 2 GetNumJoysticks

From Spheriki

Jump to: navigation, search

Get the number of joysticks attached.


Contents

Prototype

GetNumJoysticks()


Parameters

None.


Return Value

Returns the number of joysticks attached.


Examples

print("There are " + GetNumJoysticks() + " joysticks attached");

Possible output: "There are 2 joysticks attached".


See also