Enum spacenav::Event [] [src]

pub enum Event {
    ButtonPress(i32),
    ButtonRelease(i32),
    Motion {
        x: i32,
        y: i32,
        z: i32,
        rx: i32,
        ry: i32,
        rz: i32,
        period: i32,
    },
}

Variants

Button press event with button number.

Button release event with button number.

Motion event.

Fields of Motion

Translation in the x axis.

Translation in the y axis.

Translation in the z axis.

Rotation around the x axis or pitch.

Rotation around the y axis or yaw.

Rotation around the z axis or roll.

Milliseconds since the last motion event.

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.