Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_sysmouse.c @ 1251:86d0d01290ea
Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode,
updated project files, VS2005 support, VGA mode, more device support, etc,
etc, etc.
Fixes Bugzilla #47 and #28.
--ryan.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 19 Jan 2006 08:43:00 +0000 |
parents | 5c74ac147358 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1250:a4d515d0fc3a | 1251:86d0d01290ea |
---|---|
249 } | 249 } |
250 | 250 |
251 /* Check to see if we need to enter or leave mouse relative mode */ | 251 /* Check to see if we need to enter or leave mouse relative mode */ |
252 void WIN_CheckMouseMode(_THIS) | 252 void WIN_CheckMouseMode(_THIS) |
253 { | 253 { |
254 #ifndef _WIN32_WCE | |
254 /* If the mouse is hidden and input is grabbed, we use relative mode */ | 255 /* If the mouse is hidden and input is grabbed, we use relative mode */ |
255 if ( !(SDL_cursorstate & CURSOR_VISIBLE) && | 256 if ( !(SDL_cursorstate & CURSOR_VISIBLE) && |
256 (this->input_grab != SDL_GRAB_OFF) ) { | 257 (this->input_grab != SDL_GRAB_OFF) ) { |
257 mouse_relative = 1; | 258 mouse_relative = 1; |
258 } else { | 259 } else { |
259 mouse_relative = 0; | 260 mouse_relative = 0; |
260 } | 261 } |
261 } | 262 #else |
263 mouse_relative = 0; | |
264 #endif | |
265 } |