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

pub trait Handler {
    fn on_button(
        &mut self,
        compositor_handle: Handle,
        tablet_pad_handle: Handle,
        event: &Button
    ) { ... }
fn on_strip(
        &mut self,
        compositor_handle: Handle,
        tablet_pad_handle: Handle,
        event: &Strip
    ) { ... }
fn on_ring(
        &mut self,
        compositor_handle: Handle,
        tablet_pad_handle: Handle,
        event: &Ring
    ) { ... }
fn destroyed(
        &mut self,
        compositor_handle: Handle,
        tablet_pad_handle: Handle
    ) { ... } }

Provided Methods

Callback that is triggered when a button is pressed on the tablet pad.

Callback that is triggered when the touch strip is used.

Callback that is triggered when the ring is touched.

Callback that is triggered when the pad device is destroyed.

Implementors