bsnes-mt/hiro/gtk/keyboard.hpp
2020-06-02 20:53:45 +03:00

17 lines
318 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 _translate(unsigned code) -> signed;
static auto initialize() -> void;
};
}
#endif