From 6750ddca2a07f0ff1abd3a08af97c6df94458ac6 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 14 Nov 2021 15:46:33 -0500 Subject: [PATCH] Changed name of x1 and x2 to x and y. --- src/api/system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/system.c b/src/api/system.c index 4901404d..dc87b723 100644 --- a/src/api/system.c +++ b/src/api/system.c @@ -21,8 +21,8 @@ static const char* button_name(int button) { case SDL_BUTTON_LEFT : return "left"; case SDL_BUTTON_MIDDLE : return "middle"; case SDL_BUTTON_RIGHT : return "right"; - case SDL_BUTTON_X1 : return "x1"; - case SDL_BUTTON_X2 : return "x2"; + case SDL_BUTTON_X1 : return "x"; + case SDL_BUTTON_X2 : return "y"; default : return "?"; } }