Mercurial > sdl-ios-xcode
changeset 3775:e5011833348a gsoc2008_manymouse
Linux update
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 14:18:40 +0000 |
parents | 8b5b67000dc0 |
children | a9c2a7071874 |
files | src/video/x11/SDL_x11mouse.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11mouse.c Tue Aug 05 14:10:11 2008 +0000 +++ b/src/video/x11/SDL_x11mouse.c Tue Aug 05 14:18:40 2008 +0000 @@ -73,11 +73,11 @@ /*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; }