Enum wai::InputEvent [] [src]

pub enum InputEvent {
    Motion {
        axis: AxisID,
        value: f64,
    },
    ButtonPress {
        button: ButtonID,
    },
    ButtonRelease {
        button: ButtonID,
    },
    KeyPress {
        keycode: Keycode,
        keysym: Keysym,
        text: String,
    },
    KeyRelease {
        keycode: Keycode,
        keysym: Keysym,
    },
}

Variants

Fields of Motion

Fields of ButtonPress

Fields of ButtonRelease

Fields of KeyPress

Fields of KeyRelease

Trait Implementations

impl Debug for InputEvent
[src]

Formats the value using the given formatter.

impl Clone for InputEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more