Function get_digital

Source
pub fn get_digital(
    controller: Controller,
    digital: ControllerDigital,
) -> Result<bool, PROSErr>
Expand description

Returns the digital value of a controller button

ยงErrors

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