Vitaliy Margolen : winmm: Support more joysticks.
Alexandre Julliard
julliard at winehq.org
Mon Oct 27 08:03:02 CDT 2008
Module: wine
Branch: master
Commit: 9fbe249f3cc100235b8a9d09d30934b3489971da
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9fbe249f3cc100235b8a9d09d30934b3489971da
Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date: Sun Oct 26 12:01:28 2008 -0600
winmm: Support more joysticks.
---
dlls/winejoystick.drv/joystick.c | 2 +-
dlls/winmm/joystick.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winejoystick.drv/joystick.c b/dlls/winejoystick.drv/joystick.c
index 2d3e514..41d6eb8 100644
--- a/dlls/winejoystick.drv/joystick.c
+++ b/dlls/winejoystick.drv/joystick.c
@@ -78,7 +78,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(joystick);
#ifdef HAVE_LINUX_JOYSTICK_H
-#define MAXJOYSTICK (JOYSTICKID2 + 1)
+#define MAXJOYSTICK (JOYSTICKID2 + 30)
typedef struct tagWINE_JSTCK {
int joyIntf;
diff --git a/dlls/winmm/joystick.c b/dlls/winmm/joystick.c
index 3577bdd..f3cffdf 100644
--- a/dlls/winmm/joystick.c
+++ b/dlls/winmm/joystick.c
@@ -48,7 +48,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(winmm);
-#define MAXJOYSTICK (JOYSTICKID2 + 1)
+#define MAXJOYSTICK (JOYSTICKID2 + 30)
#define JOY_PERIOD_MIN (10) /* min Capture time period */
#define JOY_PERIOD_MAX (1000) /* max Capture time period */
More information about the wine-cvs
mailing list