From 11768b2e35b82e4753af529c9d4470322ebd09bb Mon Sep 17 00:00:00 2001 From: Szymon Wilczek Date: Thu, 14 Aug 2008 08:28:19 +0000 Subject: [PATCH] Small improvements --- src/video/win32/SDL_win32mouse.c | 33 +++++++++++++++++++++++++++++-- src/video/win32/SDL_win32window.c | 2 +- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/src/video/win32/SDL_win32mouse.c b/src/video/win32/SDL_win32mouse.c index 74b6947de..086bd63f3 100644 --- a/src/video/win32/SDL_win32mouse.c +++ b/src/video/win32/SDL_win32mouse.c @@ -54,6 +54,7 @@ WIN_InitMouse(_THIS) int tmp=0; char* buffer=NULL; char* tab="wacom";/*since windows does't give us handles to tablets, we have to detect a tablet by it's name*/ + const char *rdp = "rdp_mou"; SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; @@ -78,6 +79,7 @@ WIN_InitMouse(_THIS) for(i=0;i=7) + { + for(j=0;jdriverdata; /*let's delete all of the mouses*/ SDL_MouseQuit(); diff --git a/src/video/win32/SDL_win32window.c b/src/video/win32/SDL_win32window.c index 3d59895c9..3e34ba5fc 100644 --- a/src/video/win32/SDL_win32window.c +++ b/src/video/win32/SDL_win32window.c @@ -39,7 +39,7 @@ #include /*we're telling wintab that we want to receive movement, button events and pressure information in packets*/ -#define PACKETDATA ( PK_X | PK_Y | PK_BUTTONS | PK_NORMAL_PRESSURE) +#define PACKETDATA ( PK_X | PK_Y | PK_BUTTONS | PK_NORMAL_PRESSURE | PK_CURSOR) #define PACKETMODE 0 #include