JoyName$

Category: Input

Back to System Functions


Signature

JoyName$(joy As Integer)

Returns

String

Description

Returns the display name for a connected controller slot.

If the slot is not connected, the result is an empty string.

Example

Dim name As String

If JoyConnected(0) Then
    name = JoyName$(0)
End If