okapi::ControllerUtil class

Contents

Public static functions

static auto idToProsEnum(ControllerId in) -> pros::controller_id_e_t
Maps an id to the PROS enum equivalent.
static auto analogToProsEnum(ControllerAnalog in) -> pros::controller_analog_e_t
Maps an analog to the PROS enum equivalent.
static auto digitalToProsEnum(ControllerDigital in) -> pros::controller_digital_e_t
Maps a digital to the PROS enum equivalent.