Struct input_sys::libinput_tablet_pad_mode_group[][src]

#[repr(C)]
pub struct libinput_tablet_pad_mode_group { /* fields omitted */ }
Expand description

@ingroup tablet_pad_modes @struct libinput_tablet_pad_mode_group

A mode on a tablet pad is a virtual grouping of functionality, usually based on some visual feedback like LEDs on the pad. The set of buttons, rings and strips that share the same mode are a “mode group”. Whenever the mode changes, all buttons, rings and strips within this mode group are affected.

Most tablets only have a single mode group, some tablets provide multiple mode groups through independent banks of LEDs (e.g. the Wacom Cintiq 24HD). libinput guarantees that at least one mode group is always available.

This struct is refcounted, use libinput_tablet_pad_mode_group_ref() and libinput_tablet_pad_mode_group_unref().

@since 1.4

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.