le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
le::input::KeyChord Class Reference

#include <le2d/input/controls.hpp>

Inheritance diagram for le::input::KeyChord:
le::input::Chord

Public Member Functions

 KeyChord ()=default
 
constexpr KeyChord (int const key, int const action=GLFW_PRESS, int const mods=0)
 
constexpr auto is_engaged (event::Key const &key) const -> bool
 
- Public Member Functions inherited from le::input::Chord
 Chord ()=default
 
constexpr Chord (Entry const &match)
 
constexpr auto is_engaged (Entry const &entry) const -> bool
 

Constructor & Destructor Documentation

◆ KeyChord() [1/2]

le::input::KeyChord::KeyChord ( )
default

◆ KeyChord() [2/2]

constexpr le::input::KeyChord::KeyChord ( int const  key,
int const  action = GLFW_PRESS,
int const  mods = 0 
)
inlineexplicitconstexpr

Member Function Documentation

◆ is_engaged()

constexpr auto le::input::KeyChord::is_engaged ( event::Key const &  key) const -> bool
inlineconstexpr

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