Type Alias MouseRef

Source
pub type MouseRef = Ref;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum MouseRef {
    Button(u8),
    CursorLeft,
    CursorRight,
    CursorUp,
    CursorDown,
    WheelUp,
    WheelDown,
    WheelLeft,
    WheelRight,
}

Variants§

§

Button(u8)

A mouse button. (Value is button number, 1-8).

§

CursorLeft

Move cursor left.

§

CursorRight

Move cursor right.

§

CursorUp

Move cursor up.

§

CursorDown

Move cursor down.

§

WheelUp

Scroll wheel up.

§

WheelDown

Scroll wheel down.

§

WheelLeft

Scroll wheel left.

§

WheelRight

Scroll wheel right.