Skip to Content
VectorLib

ControllerDevice

vectorlib::ControllerDevice — fields, methods, parameters and return types.


pub trait ControllerDevice

A V5 controller, as seen through PROS.

View source

Methods

Prop

Type

get_digital

fn get_digital(&self, button: ControllerButton) -> bool

controller_get_digital.

Parameters

Prop

Type

Returns

bool

View source

text_set

fn text_set(&mut self, line: u32, col: u32, text: &str)

vexControllerTextSet(id, line, col, text) with PROS's already-adjusted (1-indexed) line and column. Use ProsController for PROS's print/clear semantics.

Parameters

Prop

Type

Returns

()

View source