vex_sdk::controller

Function vexControllerGet

Source
pub unsafe fn vexControllerGet(
    id: V5_ControllerId,
    index: V5_ControllerIndex,
) -> i32
Expand description

Get the value of a controller’s data channel.

§Safety

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