Kanzi  3.9.7
Kanzi Engine API
input_manipulator.hpp File Reference

Classes

struct  kanzi::InputManipulator::Collection
 Common functions of collections of attached InputManipulators processing a specific input event type. More...
 
class  kanzi::InputManipulator
 The base class for the Kanzi input manipulators. More...
 
class  kanzi::InputManipulator::InputMessageArguments
 Message arguments for input manipulator messages. More...
 
struct  kanzi::KeyGestureInfo
 This class defines the elements that compose a key gesture, key values, and key modifiers. More...
 
class  kanzi::InputManipulator::KeyInputMessageArguments
 Represents base message arguments for key input messages. More...
 
struct  kanzi::InputManipulator::TouchInfo
 Structure to hold the state of the current touch points. More...
 
struct  kanzi::TouchPoint
 The structure describes the attributes for a touch point or mouse hit. More...
 
struct  kanzi::TouchPointIdEquals
 Helper predicate functor which you can use to search for a touch point within a touch point container using the identifier of a touch point. More...
 
struct  kanzi::TouchPointStateEquals
 Helper predicate functor which you can use to search within a touch point container using the state of a touch point. More...
 

Namespaces

 kanzi
 Easing functions that require external dependencies for calculation.
 

Typedefs

using kanzi::InputManipulatorSharedPtr = shared_ptr< InputManipulator >
 
using kanzi::InputManipulatorWeakPtr = weak_ptr< InputManipulator >
 
typedef struct TouchPoint kanzi::KzuInputTouchPoint
 

Enumerations

enum  kanzi::CapsLockState { kanzi::CapsLockState::Ignore, kanzi::CapsLockState::On, kanzi::CapsLockState::Off }
 The required Caps Lock state for a key gesture. More...
 
enum  kanzi::KeyMatchResult { kanzi::KeyMatchResult::NoMatch, kanzi::KeyMatchResult::Match, kanzi::KeyMatchResult::PartialMatch }
 Key matching result values. More...
 

Functions

KeyMatchResult kanzi::matchKeyGesture (const KeyGestureInfo &gesture, const KeyEvent &event)
 Detects key gestures from the event that you pass as an argument. More...
 
KeyMatchResult kanzi::matchModifiers (KeyModifier required, const KeyEvent &event)
 Returns whether the modifiers of the key event match the required modifiers. More...
 

Variables

constexpr unsigned int kanzi::InvalidTouchId
 Invalid touch point identifier. More...