This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 1e3fca2473813dc6c293c5bcf5ad9d4971310ba6
Author: m4n4t4...@gmail.com 
<m4n4t4...@gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Fri Aug 29 15:31:31 2014 +0000

    All: Fix binding KP_NUMLOCK
---
 MP/code/sdl/sdl_input.c | 1 +
 SP/code/sdl/sdl_input.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/MP/code/sdl/sdl_input.c b/MP/code/sdl/sdl_input.c
index 28e3171..8448990 100644
--- a/MP/code/sdl/sdl_input.c
+++ b/MP/code/sdl/sdl_input.c
@@ -269,6 +269,7 @@ static keyNum_t IN_TranslateSDLToQ3Key( SDL_Keysym *keysym, 
qboolean down )
                        case SDLK_POWER:        key = K_POWER;         break;
                        case SDLK_UNDO:         key = K_UNDO;          break;
                        case SDLK_SCROLLLOCK:   key = K_SCROLLOCK;     break;
+                       case SDLK_NUMLOCKCLEAR: key = K_KP_NUMLOCK;    break;
                        case SDLK_CAPSLOCK:     key = K_CAPSLOCK;      break;
 
                        default:
diff --git a/SP/code/sdl/sdl_input.c b/SP/code/sdl/sdl_input.c
index 28e3171..8448990 100644
--- a/SP/code/sdl/sdl_input.c
+++ b/SP/code/sdl/sdl_input.c
@@ -269,6 +269,7 @@ static keyNum_t IN_TranslateSDLToQ3Key( SDL_Keysym *keysym, 
qboolean down )
                        case SDLK_POWER:        key = K_POWER;         break;
                        case SDLK_UNDO:         key = K_UNDO;          break;
                        case SDLK_SCROLLLOCK:   key = K_SCROLLOCK;     break;
+                       case SDLK_NUMLOCKCLEAR: key = K_KP_NUMLOCK;    break;
                        case SDLK_CAPSLOCK:     key = K_CAPSLOCK;      break;
 
                        default:

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to