Function get_analog

Source
pub fn get_analog(
    controller: Controller,
    analog: ControllerAnalog,
) -> Result<i8, PROSErr>
Expand description

Returns the analog value of a controller

ยงErrors

Returns PROSErr::Access if another resource is currently trying to access the controller Returns 0 if the controller is not connected