CPP-TOOLBOX
Loading...
Searching...
No Matches
Key Class Reference

#include <input_state.hpp>

Public Member Functions

 Key (EKey e, KeyType t, int code, std::string repr, bool requires_mod=true, bool shift=false, EKey shifted=EKey::DUMMY)
 
 Key ()=default
 

Public Attributes

EKey key_enum
 
KeyType key_type
 
int glfw_code
 
std::string string_repr
 
bool requires_modifer_to_be_typed
 
bool shiftable
 
EKey key_enum_of_shifted_version
 
TemporalBinarySignal pressed_signal
 

Detailed Description

Constructor & Destructor Documentation

◆ Key() [1/2]

Key::Key ( EKey e,
KeyType t,
int code,
std::string repr,
bool requires_mod = true,
bool shift = false,
EKey shifted = EKey::DUMMY )
inline

◆ Key() [2/2]

Key::Key ( )
default

Member Data Documentation

◆ glfw_code

int Key::glfw_code

◆ key_enum

EKey Key::key_enum

◆ key_enum_of_shifted_version

EKey Key::key_enum_of_shifted_version

◆ key_type

KeyType Key::key_type

◆ pressed_signal

TemporalBinarySignal Key::pressed_signal

◆ requires_modifer_to_be_typed

bool Key::requires_modifer_to_be_typed

◆ shiftable

bool Key::shiftable

◆ string_repr

std::string Key::string_repr

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