Linux update gsoc2008_manymouse
authorSzymon Wilczek <kazeuser@gmail.com>
Tue, 05 Aug 2008 14:18:40 +0000
branchgsoc2008_manymouse
changeset 3775 e5011833348a
parent 3774 8b5b67000dc0
child 3776 a9c2a7071874
Linux update
src/video/x11/SDL_x11mouse.c
--- 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;
                 }