JoyConnected

Category: Input

Back to System Functions


Signature

JoyConnected(joy As Integer)

Returns

Boolean

Description

Returns True when the specified controller slot currently has a controller attached.

The joy argument is a zero-based slot index from 0 up to JoyCount() - 1.

Example

If JoyConnected(0) Then
    End
End If