nngn
Loading...
Searching...
No Matches
lua_input.cpp File Reference
#include "lua/function.h"
#include "lua/register.h"
#include "lua/table.h"
#include "graphics/graphics.h"
#include "group.h"
#include "input.h"
Include dependency graph for lua_input.cpp:

Namespaces

namespace  anonymous_namespace{lua_input.cpp}
 

Typedefs

using anonymous_namespace{lua_input.cpp}::Action = Input::Action
 
using anonymous_namespace{lua_input.cpp}::Modifier = Input::Modifier
 
using anonymous_namespace{lua_input.cpp}::Selector = Input::Selector
 

Functions

nngn::lua::table_view anonymous_namespace{lua_input.cpp}::get_keys (Input &i, std::vector< i32 > v, nngn::lua::state_view lua)
 
auto anonymous_namespace{lua_input.cpp}::terminal_source (int fd, std::optional< Input::TerminalFlag > flags)
 
auto anonymous_namespace{lua_input.cpp}::input_graphics_source (nngn::Graphics *g)
 
void anonymous_namespace{lua_input.cpp}::add_source (Input &i, Input::Source *s)
 
bool anonymous_namespace{lua_input.cpp}::override_key (Input &i, bool pressed, lua_Integer k)
 
bool anonymous_namespace{lua_input.cpp}::override_keys (Input &i, bool pressed, std::vector< lua_Integer > k)
 
void anonymous_namespace{lua_input.cpp}::register_input (nngn::lua::table_view t)