Mir
Public Member Functions | List of all members
MirTouchscreenConfig Struct Reference

#include <mir_touchscreen_config.h>

Public Member Functions

 MirTouchscreenConfig ()
 
 ~MirTouchscreenConfig ()
 
 MirTouchscreenConfig (MirTouchscreenConfig const &)
 
 MirTouchscreenConfig (MirTouchscreenConfig &&)
 
MirTouchscreenConfigoperator= (MirTouchscreenConfig const &)
 
 MirTouchscreenConfig (uint32_t output_id, MirTouchscreenMappingMode mode)
 
uint32_t output_id () const
 Configures the output the device coordinates should be aligned to. More...
 
void output_id (uint32_t)
 
MirTouchscreenMappingMode mapping_mode () const
 Configure the type of coordinate mapping to be used for this input device. More...
 
void mapping_mode (MirTouchscreenMappingMode)
 
bool operator== (MirTouchscreenConfig const &other) const
 
bool operator!= (MirTouchscreenConfig const &other) const
 

Constructor & Destructor Documentation

◆ MirTouchscreenConfig() [1/4]

MirTouchscreenConfig::MirTouchscreenConfig ( )

◆ ~MirTouchscreenConfig()

MirTouchscreenConfig::~MirTouchscreenConfig ( )

◆ MirTouchscreenConfig() [2/4]

MirTouchscreenConfig::MirTouchscreenConfig ( MirTouchscreenConfig const &  )

◆ MirTouchscreenConfig() [3/4]

MirTouchscreenConfig::MirTouchscreenConfig ( MirTouchscreenConfig &&  )

◆ MirTouchscreenConfig() [4/4]

MirTouchscreenConfig::MirTouchscreenConfig ( uint32_t  output_id,
MirTouchscreenMappingMode  mode 
)

Member Function Documentation

◆ mapping_mode() [1/2]

MirTouchscreenMappingMode MirTouchscreenConfig::mapping_mode ( ) const

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

◆ mapping_mode() [2/2]

void MirTouchscreenConfig::mapping_mode ( MirTouchscreenMappingMode  )

◆ operator!=()

bool MirTouchscreenConfig::operator!= ( MirTouchscreenConfig const &  other) const

◆ operator=()

MirTouchscreenConfig& MirTouchscreenConfig::operator= ( MirTouchscreenConfig const &  )

◆ operator==()

bool MirTouchscreenConfig::operator== ( MirTouchscreenConfig const &  other) const

◆ output_id() [1/2]

uint32_t MirTouchscreenConfig::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.

◆ output_id() [2/2]

void MirTouchscreenConfig::output_id ( uint32_t  )

The documentation for this struct was generated from the following file:

Copyright © 2012-2018 Canonical Ltd.
Generated on Thu Mar 15 13:06:27 UTC 2018