mirror of https://github.com/bsnes-emu/bsnes.git
18 lines
315 B
C++
18 lines
315 B
C++
#if defined(Hiro_Mouse)
|
|
|
|
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
|