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 1da268a909
commit b7b7f889c5
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)
{