Functions
HID_Detect
u16 HID_Detect(
enum INPUT_PORT port
)

Detect device plugged to joystick port

Parameters
port
enum INPUT_PORT

ID of the port to check. Can be <INPUT_PORT1> or <INPUT_PORT1>.

Returns

16-bit footprint of the device