diff src/video/x11/SDL_x11mouse.c @ 3775:e5011833348a gsoc2008_manymouse

Linux update
author Szymon Wilczek <kazeuser@gmail.com>
date Tue, 05 Aug 2008 14:18:40 +0000
parents 9087a84cba51
children 54d08ecec1cb
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;
                 }