1#ifndef NNGN_INPUT_GROUP_H
2#define NNGN_INPUT_GROUP_H
4#include <unordered_map>
11 struct Info {
int ref = {}; Input::Selector
selector = {}; };
12 std::unordered_map<int, Info>
m = {};
15 Info for_event(
int key, Input::Action action, Input::Modifier mods)
const;
16 bool add(lua_State *L,
int key, Input::Selector
s);
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
std::unordered_map< int, Info > m
Definition: group.h:12
std::chrono::seconds s
Definition: timing.cpp:6
Input::Selector selector
Definition: group.h:11
int ref
Definition: group.h:11