5#ifndef NNGN_INPUT_INPUT_H
6#define NNGN_INPUT_INPUT_H
13#include <unordered_map>
53 virtual void get_keys(std::span<i32> keys)
const;
61 void init(lua_State *L_) { this->
L = L_; }
62 void get_keys(std::span<i32> keys)
const;
78 std::vector<std::unique_ptr<Source>>
sources = {};
82 int fd, Input::TerminalFlag flags);
local n
Definition dump_lights.lua:5
local g
Definition gamma.lua:7
key_callback
Definition harvest_moon.lua:31
std::unique_ptr< Input::Source > input_terminal_source(int fd, Input::TerminalFlag flags)
Definition terminal.cpp:122
std::int32_t i32
Definition def.h:10
std::unique_ptr< Input::Source > input_graphics_source(Graphics *g)
Definition graphics.cpp:79
#define NNGN_DEFAULT_CONSTRUCT(x)
Definition utils.h:20
std::chrono::duration< float, typename T::period > fd
Definition timing.cpp:8