Enum sensehat_stick::Direction [] [src]

pub enum Direction {
    Enter,
    Up,
    Down,
    Left,
    Right,
}

Direction in which the JoyStick is moved.

Internally, it matches the key-press events:

  • Direction::Enter = 28
  • Direction::Up = 103
  • Direction::Down = 108
  • Direction::Left = 105
  • Direction::Up = 106

Variants

Trait Implementations

impl Debug for Direction
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Direction

impl Sync for Direction