[−][src]Trait wlroots::input::pointer::Handler
Provided Methods
fn on_motion(
&mut self,
compositor_handle: Handle,
pointer_handle: Handle,
event: &Motion
)
&mut self,
compositor_handle: Handle,
pointer_handle: Handle,
event: &Motion
)
Callback that is triggered when the pointer moves.
fn on_motion_absolute(
&mut self,
compositor_handle: Handle,
pointer_handle: Handle,
event: &AbsoluteMotion
)
&mut self,
compositor_handle: Handle,
pointer_handle: Handle,
event: &AbsoluteMotion
)
Callback that is triggered when the buttons on the pointer are pressed.
fn on_axis(
&mut self,
compositor_handle: Handle,
pointer_handle: Handle,
event: &Axis
)
&mut self,
compositor_handle: Handle,
pointer_handle: Handle,
event: &Axis
)
Callback that is triggered when an axis event fires.
fn destroyed(&mut self, compositor_handle: Handle, pointer_handle: Handle)
Callback that is triggered when the pointer is destroyed.