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... | |
Configurable event source properties.
using kanzi::EventSourceProperties::KeyMapCollection = vector<KeyMap> |
The convertible key collection.
|
inlineexplicit |
Constructor.
|
inlineexplicit |
Constructor. Constructs the event source properties with custom key converters.
KeyMapCollection kanzi::EventSourceProperties::keyMap |
The convertible keys.
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.