Starter project for SDL2.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
277 B

  1. #ifndef IZ_APP_H
  2. #define IZ_APP_H
  3. #include <SDL_joystick.h>
  4. #include "config/IZ_config.h"
  5. #include "IZ_action.h"
  6. typedef struct {
  7. IZ_Config config;
  8. IZ_Action actions[PLAYERS];
  9. SDL_Joystick* assigned_joysticks[PLAYERS];
  10. } IZ_App;
  11. int IZ_InitializeApp(IZ_App*);
  12. #endif