aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-08-31 10:41:30 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-08-31 10:41:30 +0000
commit60bee81ce803959461493d107ad5a0e568c958c8 (patch)
tree25647bab4f8cfe1c95035b45dddea126ac30bb29
parent4efd7abd7ecc7cdf25386959b34c847401a1268b (diff)
downloadioquake3-aero-60bee81ce803959461493d107ad5a0e568c958c8.tar.gz
ioquake3-aero-60bee81ce803959461493d107ad5a0e568c958c8.zip
* Update SDL patch (again)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1467 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--README2
-rw-r--r--misc/sdl-win32-fixes.diff (renamed from misc/sdl-win32-mouse-fixes.diff)14
2 files changed, 14 insertions, 2 deletions
diff --git a/README b/README
index c80faca..fa03714 100644
--- a/README
+++ b/README
@@ -433,7 +433,7 @@ Mouse Input On Windows
* Low quality mouse input data when using the windib driver due to use of
WM_MOUSEMOVE events. Use GetCursorPos API call instead.
- The patch can be found in misc/sdl-win32-mouse-fixes.diff.
+ The patch can be found in misc/sdl-win32-fixes.diff.
PNG support
ioquake3 supports the use of PNG (Portable Network Graphic) images as
diff --git a/misc/sdl-win32-mouse-fixes.diff b/misc/sdl-win32-fixes.diff
index faec492..2a4ff63 100644
--- a/misc/sdl-win32-mouse-fixes.diff
+++ b/misc/sdl-win32-fixes.diff
@@ -513,7 +513,19 @@ Index: src/video/windx5/SDL_dx5events.c
}
}
-@@ -840,7 +912,7 @@
+@@ -516,10 +588,7 @@
+
+ /* The keyboard is handled via DirectInput */
+ case WM_SYSKEYUP:
+- case WM_SYSKEYDOWN: {
+- /* Pass syskey to DefWindwoProc (ALT-F4, etc.) */
+- }
+- break;
++ case WM_SYSKEYDOWN:
+ case WM_KEYUP:
+ case WM_KEYDOWN: {
+ /* Ignore windows keyboard messages */;
+@@ -840,7 +909,7 @@
keysym->unicode = vkey;
#else
GetKeyboardState(keystate);