Struct steamy_controller::Feedback
[−]
[src]
pub struct Feedback<'a, 'b: 'a> { /* fields omitted */ }
Controller feedback builder.
Methods
impl<'a, 'b> Feedback<'a, 'b>
[src]
fn left(self) -> Self
Send the feedback on the left pad.
fn right(self) -> Self
Send the feedback on the right pad.
fn amplitude(self, value: u16) -> Self
The amplitude of the feedback.
fn period(self, value: u16) -> Self
The period of the feedback.
fn count(self, value: u16) -> Self
The number of feedbacks to send.
fn send(self) -> Res<()>
Send the built feedback.