Trait pscontroller_rs::PollCommand [−][src]
pub trait PollCommand { fn set_command(&self, _: &mut [u8]); }
Commands to send off with a poll request.
Required Methods
fn set_command(&self, _: &mut [u8])
Re-write the provided slice starting from index 0. This command is called by read_input() which will provide a sub-slice of the controller's command bytes.