Structs§
- Mouse
Binding - A
MouseBindingrepresents a connection to a mouse input device. - Mouse
Device Descriptor - Mouse
Event - A
MouseEventrepresents 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
RelativeLocationcontains the relative mouse pointer location at the time of a pointer event. - Wheel
Delta - A
WheelDeltacontains raw wheel delta from driver or gesture arena and scaled wheel delta in physical pixels.
Enums§
- Mouse
Location - A
MouseLocationrepresents 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 RawWheelDeltais the wheel delta from driver or gesture arena.
Functions§
- get_
u32_ from_ buttons - Returns a u32 representation of
buttons, where each u8 ofbuttonsis an id of a button and indicates the position of a bit to set.