Structs§
- A
MouseBinding
represents a connection to a mouse input device. - A
MouseEvent
represents a pointer event with a specified phase, and the buttons involved in said phase. The supported phases for mice include Up, Down, and Move. - A
RelativeLocation
contains the relative mouse pointer location at the time of a pointer event. - A
WheelDelta
contains raw wheel delta from driver or gesture arena and scaled wheel delta in physical pixels.
Enums§
- A
MouseLocation
represents the mouse pointer location at the time of a pointer event. - Flag to indicate the scroll event is from device reporting precision delta.
RawWheelDelta
is the wheel delta from driver or gesture arena.
Functions§
- Returns a u32 representation of
buttons
, where each u8 ofbuttons
is an id of a button and indicates the position of a bit to set.