Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
InputBindings::KeyChord Struct Reference

#include <InputBindings.h>

Collaboration diagram for InputBindings::KeyChord:
Collaboration graph
[legend]

Public Member Functions

 KeyChord ()=default
 
 KeyChord (KeyBinding a, KeyBinding m1={}, KeyBinding m2={})
 
bool IsActive () const
 
bool Enabled () const
 
bool operator== (const KeyChord &rhs) const
 
bool operator!= (const KeyChord &rhs) const
 
bool operator< (const KeyChord &rhs) const
 

Public Attributes

KeyBinding activator
 
KeyBinding modifier1
 
KeyBinding modifier2
 
bool m_active = false
 
uint8_t m_queuedEvents = 0
 

Friends

std::string_view & operator>> (std::string_view &, KeyChord &)
 
std::ostream & operator<< (std::ostream &, const KeyChord &)
 

Constructor & Destructor Documentation

◆ KeyChord() [1/2]

InputBindings::KeyChord::KeyChord ( )
default

◆ KeyChord() [2/2]

InputBindings::KeyChord::KeyChord ( KeyBinding  a,
KeyBinding  m1 = {},
KeyBinding  m2 = {} 
)
inline

Member Function Documentation

◆ Enabled()

bool InputBindings::KeyChord::Enabled ( ) const
inline
Here is the call graph for this function:

◆ IsActive()

bool InputBindings::KeyChord::IsActive ( ) const
inline
Here is the call graph for this function:

◆ operator!=()

bool InputBindings::KeyChord::operator!= ( const KeyChord rhs) const
inline

◆ operator<()

bool InputBindings::KeyChord::operator< ( const KeyChord rhs) const
inline
Here is the call graph for this function:

◆ operator==()

bool InputBindings::KeyChord::operator== ( const KeyChord rhs) const
inline

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  ,
const KeyChord  
)
friend

◆ operator>>

std::string_view & operator>> ( std::string_view &  ,
KeyChord  
)
friend

Member Data Documentation

◆ activator

KeyBinding InputBindings::KeyChord::activator

◆ m_active

bool InputBindings::KeyChord::m_active = false

◆ m_queuedEvents

uint8_t InputBindings::KeyChord::m_queuedEvents = 0

◆ modifier1

KeyBinding InputBindings::KeyChord::modifier1

◆ modifier2

KeyBinding InputBindings::KeyChord::modifier2

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