Changed the game controller enum types to match SDL naming conventions.

This commit is contained in:
Ryan C. Gordon 2013-02-25 00:56:21 -05:00
parent db73a392c2
commit a5862a96a3
4 changed files with 32 additions and 31 deletions

View file

@ -41,7 +41,7 @@ DrawRect(SDL_Renderer *r, const int x, const int y, const int w, const int h)
}
static const char *
ControllerAxisName(const SDL_CONTROLLER_AXIS axis)
ControllerAxisName(const SDL_GameControllerAxis axis)
{
switch (axis)
{
@ -59,7 +59,7 @@ ControllerAxisName(const SDL_CONTROLLER_AXIS axis)
}
static const char *
ControllerButtonName(const SDL_CONTROLLER_BUTTON button)
ControllerButtonName(const SDL_GameControllerButton button)
{
switch (button)
{