Skip to content

Commit

Permalink
Corrected SDL_CONTROLLER_BUTTON_MAX from before 2.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
ichordev committed Jun 28, 2023
1 parent e71f728 commit eb56278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/sdl/gamecontroller.d
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 111,7 @@ enum: SDL_GameControllerButton{
}
else
enum: SDL_GameControllerButton{
SDL_CONTROLLER_BUTTON_MAX = 16,
SDL_CONTROLLER_BUTTON_MAX = 15,
}

static if(sdlSupport >= SDLSupport.v2_0_2){
Expand Down

0 comments on commit eb56278

Please sign in to comment.