mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Update SDL patch (again)
This commit is contained in:
parent
d982941849
commit
b7799e644a
2 changed files with 14 additions and 2 deletions
2
README
2
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
|
||||
|
|
|
@ -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);
|
Loading…
Reference in a new issue