interface RawMouseEvent {
    button_flags: number;
    button_data: number;
    mouse_flags: number;
    x: number;
    y: number;
    device_id?: string;
}

Properties

button_flags: number

Bitfield indicating which mouse buttons changed state.

button_data: number

Additional data such as wheel delta.

mouse_flags: number

Event flags (e.g. absolute vs. relative movement).

x: number

Horizontal coordinate from the raw event.

y: number

Vertical coordinate from the raw event.

device_id?: string

Device path identifying the physical mouse that generated the event.