old-hiro/qt/keyboard.hpp
2016-05-15 12:45:15 +02:00

16 lines
267 B
C++

#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 initialize() -> void;
};
}
#endif