Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::EventSourceProperties Struct Reference

Configurable event source properties. More...

#include <kanzi/core.ui/input/event_source_properties.hpp>

Public Types

using KeyMapCollection = vector< KeyMap >
 The convertible key collection. More...
 

Public Member Functions

 EventSourceProperties ()
 Constructor. More...
 
 EventSourceProperties (KeyMapCollection keyMap)
 Constructor. Constructs the event source properties with custom key converters. More...
 

Public Attributes

bool discardPointerEvents
 Whether pointer events are discarded. More...
 
bool discardTouchEvents
 Whether touch events are discarded. More...
 
string inputEventDevice
 Input event device path. More...
 
KeyMapCollection keyMap
 The convertible keys. More...
 
Matrix3x3 transformation
 Transformation matrix for the event coordinates. More...
 
InputTranslation translation
 Translation of events from one type to another. More...
 

Detailed Description

Configurable event source properties.

Member Typedef Documentation

The convertible key collection.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

kanzi::EventSourceProperties::EventSourceProperties ( )
inlineexplicit

Constructor.

kanzi::EventSourceProperties::EventSourceProperties ( KeyMapCollection  keyMap)
inlineexplicit

Constructor. Constructs the event source properties with custom key converters.

Member Data Documentation

KeyMapCollection kanzi::EventSourceProperties::keyMap

The convertible keys.

Since
Kanzi 3.9.0
InputTranslation kanzi::EventSourceProperties::translation

Translation of events from one type to another.

Matrix3x3 kanzi::EventSourceProperties::transformation

Transformation matrix for the event coordinates.

bool kanzi::EventSourceProperties::discardPointerEvents

Whether pointer events are discarded.

The default value is false.

bool kanzi::EventSourceProperties::discardTouchEvents

Whether touch events are discarded.

The default value is false.

string kanzi::EventSourceProperties::inputEventDevice

Input event device path.


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