keyboard.hpp 267 B

1234567891011121314151617
  1. #if defined(Hiro_Keyboard)
  2. namespace hiro {
  3. struct pKeyboard {
  4. static auto poll() -> vector<bool>;
  5. static auto pressed(unsigned code) -> bool;
  6. static auto _pressed(const char* state, uint16_t code) -> bool;
  7. static auto initialize() -> void;
  8. };
  9. }
  10. #endif