Controller.h 427 B

12345678910111213141516171819202122
  1. #ifndef CONTROLLER_H
  2. #define CONTROLLER_H
  3. #include "gaming-core/input/Buttons.h"
  4. struct Controller {
  5. const ButtonList& list;
  6. const Button& left;
  7. const Button& right;
  8. const Button& up;
  9. const Button& down;
  10. const Button& jump;
  11. const Button& sneak;
  12. const Button& camLeft;
  13. const Button& camRight;
  14. const Button& camUp;
  15. const Button& camDown;
  16. Controller(Buttons& buttons);
  17. };
  18. #endif