InputSdl.h 305 B

12345678910111213141516171819
  1. #ifndef ANKI_INPUT_INPUT_SDL_H
  2. #define ANKI_INPUT_INPUT_SDL_H
  3. #include "anki/input/KeyCode.h"
  4. #include <SDL_keycode.h>
  5. #include <unordered_map>
  6. namespace anki {
  7. /// SDL input implementation
  8. struct InputImpl
  9. {
  10. std::unordered_map<SDL_Keycode, KeyCode> sdlKeyToAnki;
  11. };
  12. } // end namespace anki
  13. #endif