Changed name of x1 and x2 to x and y.
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@ static const char* button_name(int button) {
|
|||||||
case SDL_BUTTON_LEFT : return "left";
|
case SDL_BUTTON_LEFT : return "left";
|
||||||
case SDL_BUTTON_MIDDLE : return "middle";
|
case SDL_BUTTON_MIDDLE : return "middle";
|
||||||
case SDL_BUTTON_RIGHT : return "right";
|
case SDL_BUTTON_RIGHT : return "right";
|
||||||
case SDL_BUTTON_X1 : return "x1";
|
case SDL_BUTTON_X1 : return "x";
|
||||||
case SDL_BUTTON_X2 : return "x2";
|
case SDL_BUTTON_X2 : return "y";
|
||||||
default : return "?";
|
default : return "?";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user