Struct MirTouchscreenConfig

Struct Documentation

struct MirTouchscreenConfig

Public Functions

MirTouchscreenConfig()
~MirTouchscreenConfig()
MirTouchscreenConfig(MirTouchscreenConfig const&)
MirTouchscreenConfig(MirTouchscreenConfig&&)
MirTouchscreenConfig &operator=(MirTouchscreenConfig const&)
MirTouchscreenConfig(uint32_t output_id, MirTouchscreenMappingMode mode)
uint32_t output_id() const

Configures the output the device coordinates should be aligned to.

This element is only relevant when mapping_mode is set to mir_touchscreen_mapping_mode_to_output.

void output_id(uint32_t)
MirTouchscreenMappingMode mapping_mode() const

Configure the type of coordinate mapping to be used for this input device.

void mapping_mode(MirTouchscreenMappingMode)
bool operator==(MirTouchscreenConfig const &other) const
bool operator!=(MirTouchscreenConfig const &other) const