Enum novation_remote_25sl::Control
[−]
[src]
pub enum Control { RotaryDial(Oct, i8), RotarySlider(Oct, u8), VerticalSlider(Oct, u8), PressurePad(Oct, u8), Button(ButtonRow, Oct, State), TouchPad(Axis, u8), Pitch(i8), Mod(u8), Page(Side, Page, State), LeftButton(LeftButton, State), RightButton(RightButton, State), Playback(Playback, State), }
Controller events.
Variants
RotaryDial(Oct, i8)
A magnitude in the direction in which the dial was turned.
Values may range from -64 to 64 (exclusive).
RotarySlider(Oct, u8)
The value to which the slider was set.
Values range from 0
to 127
(inclusive).
VerticalSlider(Oct, u8)
The value to which the slider was set.
Values range from 0
to 127
(inclusive).
PressurePad(Oct, u8)
The force with which the pad was pressed.
Values range from 0
to 127
(inclusive).
Button(ButtonRow, Oct, State)
A button was pressed on the given row.
TouchPad(Axis, u8)
The position on the touch pad that was pressed.
Values range from 0
to 127
(inclusive).
Pitch(i8)
The position of the pitch bender.
Ranges from -64 to 64 (exclusive).
Mod(u8)
The position of the modulation bender.
Values range from 0 to 127 (inclusive).
Page(Side, Page, State)
The page up and down buttons on the top left and right of the controller..
LeftButton(LeftButton, State)
The four buttons on the upper left hand side of the controller.
RightButton(RightButton, State)
The three buttons on the upper right hand side of the controller.
Playback(Playback, State)
Media playback-style control buttons.
Trait Implementations
impl Copy for Control
[src]
impl Clone for Control
[src]
fn clone(&self) -> Control
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Control
[src]
impl Hash for Control
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Control
[src]
fn eq(&self, __arg_0: &Control) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Control) -> bool
This method tests for !=
.