vex_sdk::controller

Function vexControllerConnectionStatusGet

Source
pub unsafe fn vexControllerConnectionStatusGet(
    id: V5_ControllerId,
) -> V5_ControllerStatus
Expand description

Returns 1 if the controller on the given ID is connected, or 0 if not.

ยงSafety

Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.