- SetCursorState() now calls ShowCursor() again, because capturing the mouse

with RIDEV_NOLEGACY apparently prevents SetCursor() from doing anything.
- Split mouse code off from i_input.cpp into i_mouse.cpp and added raw mouse
  handling. (WM_INPUT obsoleted most of DirectInput for XP.)
- Fixed: Similar to the Win32 mouse, using the DirectInput mouse in windowed
  mode, if you alt-tabbed away and then clicked on the window's title bar,
  mouse input would be frozen until the mouse was ungrabbed again.


SVN r1601 (trunk)
This commit is contained in:
Randy Heit 2009-05-24 03:15:04 +00:00
commit 0c4c90ac89
10 changed files with 1307 additions and 789 deletions

View file

@ -21,8 +21,7 @@
static void I_CheckGUICapture ();
static void I_CheckNativeMouse ();
static bool GUICapture;
static bool NativeMouse = true;
bool GUICapture;
extern int paused;