Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Linux update
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Wilczek committed Aug 5, 2008
1 parent 66a97b5 commit 231fdd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/x11/SDL_x11mouse.c
Expand Up @@ -73,11 +73,11 @@ X11_InitMouse(_THIS)
/*if the device reports pressure, lets check it parameteres*/
if(valInfo->num_axes>2)
{
data->mouse = SDL_AddMouse(&mouse, index++,DevList[i].name,valInfo->axes[2].max_value,valInfo->axes[2].min_value);
data->mouse = SDL_AddMouse(&mouse, index++,DevList[i].name,valInfo->axes[2].max_value,valInfo->axes[2].min_value,1);
}
else
{
data->mouse = SDL_AddMouse(&mouse, index++,DevList[i].name,0,0);
data->mouse = SDL_AddMouse(&mouse, index++,DevList[i].name,0,0,1);
}
break;
}
Expand Down

0 comments on commit 231fdd6

Please sign in to comment.