JoystickName()

Syntax

Result$ = JoystickName(#Joystick)
Description
Returns the joystick name. It can be useful when having several joystick connected, to identify the right one.

Parameters

#Joystick The joystick to use. The first joystick index is 0. The number of available joysticks is returned by InitJoystick().

Return value

Returns the joystick name.

See Also

InitJoystick()

Supported OS

All

<- JoystickButton() - Joystick Index