nngn
Loading...
Searching...
No Matches
nngn::BindingGroup Class Reference

#include <group.h>

Classes

struct  Info
 

Public Member Functions

Info for_key (int key) const
 
Info for_event (int key, Input::Action action, Input::Modifier mods) const
 
bool add (lua_State *L, int key, Input::Selector s)
 
bool remove (lua_State *L, int key)
 
Info for_key (int key) const
 
Info for_event (int key, Input::Action action, Input::Modifier mods) const
 
bool add (lua_State *L, int key, Input::Selector s)
 
bool remove (lua_State *L, int key)
 

Private Attributes

std::unordered_map< int, Infom = {}
 

Member Function Documentation

◆ add() [1/2]

bool nngn::BindingGroup::add ( lua_State *  L,
int  key,
Input::Selector  s 
)
Here is the call graph for this function:

◆ add() [2/2]

bool nngn::BindingGroup::add ( lua_State *  L,
int  key,
Input::Selector  s 
)

◆ for_event() [1/2]

auto nngn::BindingGroup::for_event ( int  key,
Input::Action  action,
Input::Modifier  mods 
) const

◆ for_event() [2/2]

Info nngn::BindingGroup::for_event ( int  key,
Input::Action  action,
Input::Modifier  mods 
) const

◆ for_key() [1/2]

auto nngn::BindingGroup::for_key ( int  key) const

◆ for_key() [2/2]

Info nngn::BindingGroup::for_key ( int  key) const

◆ remove() [1/2]

bool nngn::BindingGroup::remove ( lua_State *  L,
int  key 
)
Here is the call graph for this function:

◆ remove() [2/2]

bool nngn::BindingGroup::remove ( lua_State *  L,
int  key 
)

Member Data Documentation

◆ m

std::unordered_map< int, Info > nngn::BindingGroup::m = {}
private

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