old-hiro/gtk/keyboard.hpp

18 lines
318 B
C++
Raw Normal View History

2016-05-15 10:45:15 +00:00
#if defined(Hiro_Keyboard)
namespace hiro {
struct pKeyboard {
static auto poll() -> vector<bool>;
static auto pressed(unsigned code) -> bool;
static auto _pressed(const char* state, uint16_t code) -> bool;
static auto _translate(unsigned code) -> signed;
static auto initialize() -> void;
};
}
#endif