vex_sdk::controller

Function vexControllerGet

source
#[no_mangle]
pub unsafe extern "aapcs" 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.