mouse: Move mouse button state from a Uint32 to a formal typedef.

Reference Issue #9812.
This commit is contained in:
Ryan C. Gordon 2024-05-25 22:54:31 -04:00
parent 13b18e3c41
commit cf2874080f
13 changed files with 60 additions and 56 deletions

View file

@ -586,7 +586,7 @@ static void ClearBinding(void)
static void SetDisplayMode(ControllerDisplayMode mode)
{
float x, y;
Uint32 button_state;
SDL_MouseButtonFlags button_state;
if (mode == CONTROLLER_MODE_BINDING) {
/* Make a backup of the current mapping */