Controller.h 448 B

123456789101112131415161718192021222324
  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& a;
  7. const Button& b;
  8. const Button& x;
  9. const Button& y;
  10. const Button& l;
  11. const Button& r;
  12. const Button& start;
  13. const Button& select;
  14. const Button& left;
  15. const Button& right;
  16. const Button& up;
  17. const Button& down;
  18. Controller(Buttons& buttons);
  19. };
  20. #endif