Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed building on non-Android platforms
  • Loading branch information
slouken committed Nov 1, 2017
1 parent a90be44 commit a7d2d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/SDL_gamecontroller.c
Expand Up @@ -926,8 +926,8 @@ static ControllerMapping_t *SDL_PrivateGetControllerMapping(int device_index)
SDL_snprintf(mapping_string, sizeof(mapping_string), "none,%s,a:b0,b:b1,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,", name);
mapping = SDL_PrivateAddMappingForGUID(guid, mapping_string,
&existing, SDL_CONTROLLER_MAPPING_PRIORITY_DEFAULT);
#endif /* __ANDROID__ */
}
#endif /* __ANDROID__ */
SDL_UnlockJoysticks();
return mapping;
}
Expand Down

0 comments on commit a7d2d12

Please sign in to comment.