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::MirTouchscreenConfig ( )
MirTouchscreenConfig::~MirTouchscreenConfig ( )
MirTouchscreenConfig::MirTouchscreenConfig ( MirTouchscreenConfig const &  )
MirTouchscreenConfig::MirTouchscreenConfig ( MirTouchscreenConfig &&  )
MirTouchscreenConfig::MirTouchscreenConfig ( uint32_t  output_id,
MirTouchscreenMappingMode  mode 
)

Member Function Documentation

MirTouchscreenMappingMode MirTouchscreenConfig::mapping_mode ( ) const

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

void MirTouchscreenConfig::mapping_mode ( MirTouchscreenMappingMode  )
bool MirTouchscreenConfig::operator!= ( MirTouchscreenConfig const &  other) const
MirTouchscreenConfig& MirTouchscreenConfig::operator= ( MirTouchscreenConfig const &  )
bool MirTouchscreenConfig::operator== ( MirTouchscreenConfig const &  other) const
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.

void MirTouchscreenConfig::output_id ( uint32_t  )

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Fri Dec 20 06:52:43 UTC 2019