old-hiro/windows/keyboard.hpp

19 lines
305 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 initialize() -> void;
static auto _translate(unsigned code, unsigned flags) -> signed;
static vector<uint16_t> keycodes;
};
}
#endif