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.

14 lines
239 B

  1. #include "IZ_app.h"
  2. int IZ_InitializeApp(IZ_App* app) {
  3. IZ_LoadConfig(&app->config);
  4. IZ_SaveConfig(&app->config);
  5. for (uint8_t p = 0; p < PLAYERS; p += 1) {
  6. app->assigned_joysticks[p] = NULL;
  7. app->actions[p] = 0;
  8. }
  9. return 0;
  10. }