Kanzi  3.9.6
Kanzi Engine 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

◆ KeyMapCollection

The convertible key collection.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ EventSourceProperties() [1/2]

kanzi::EventSourceProperties::EventSourceProperties ( )
inlineexplicit

Constructor.

◆ EventSourceProperties() [2/2]

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

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

Member Data Documentation

◆ keyMap

KeyMapCollection kanzi::EventSourceProperties::keyMap

The convertible keys.

Since
Kanzi 3.9.0

◆ translation

InputTranslation kanzi::EventSourceProperties::translation

Translation of events from one type to another.

◆ transformation

Matrix3x3 kanzi::EventSourceProperties::transformation

Transformation matrix for the event coordinates.

◆ discardPointerEvents

bool kanzi::EventSourceProperties::discardPointerEvents

Whether pointer events are discarded.

The default value is false.

◆ discardTouchEvents

bool kanzi::EventSourceProperties::discardTouchEvents

Whether touch events are discarded.

The default value is false.

◆ inputEventDevice

string kanzi::EventSourceProperties::inputEventDevice

Input event device path.


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