mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 17:16:19 -05:00
Changed the game controller enum types to match SDL naming conventions.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user