[][src]Trait wlroots::input::pointer::Handler

pub trait Handler {
    fn on_motion(
        &mut self,
        compositor_handle: Handle,
        pointer_handle: Handle,
        event: &Motion
    ) { ... }
fn on_motion_absolute(
        &mut self,
        compositor_handle: Handle,
        pointer_handle: Handle,
        event: &AbsoluteMotion
    ) { ... }
fn on_button(
        &mut self,
        compositor_handle: Handle,
        pointer_handle: Handle,
        event: &Button
    ) { ... }
fn on_axis(
        &mut self,
        compositor_handle: Handle,
        pointer_handle: Handle,
        event: &Axis
    ) { ... }
fn destroyed(&mut self, compositor_handle: Handle, pointer_handle: Handle) { ... } }

Provided Methods

Callback that is triggered when the pointer moves.

Callback that is triggered when the buttons on the pointer are pressed.

Callback that is triggered when an axis event fires.

Callback that is triggered when the pointer is destroyed.

Implementors