Structs§
- Mouse
Binding - A
MouseBinding
represents a connection to a mouse input device. - Mouse
Device Descriptor - Mouse
Event - 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. - Relative
Location - A
RelativeLocation
contains the relative mouse pointer location at the time of a pointer event. - Wheel
Delta - A
WheelDelta
contains raw wheel delta from driver or gesture arena and scaled wheel delta in physical pixels.
Enums§
- Mouse
Location - A
MouseLocation
represents the mouse pointer location at the time of a pointer event. - Mouse
Phase - Precision
Scroll - Flag to indicate the scroll event is from device reporting precision delta.
- RawWheel
Delta RawWheelDelta
is the wheel delta from driver or gesture arena.
Functions§
- get_
u32_ from_ buttons - 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.