From: Jaka K. <lyn...@us...> - 2012-05-02 10:21:17
|
gemrb: Infinity Engine emulator The branch master has been updated via 9ff1004b59d09f499cc06717101766a0e6b7c6c1 (commit) Summary of changes: gemrb/plugins/SDLVideo/SDLVideo.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) from dd3b46c9499e5d8b5837efb8ec660108cec83631 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=9ff1004b59d09f499cc06717101766a0e6b7c6c1 commit 9ff1004b59d09f499cc06717101766a0e6b7c6c1 Author: Jaka Kranjc <lyn...@us...> Date: Wed May 2 11:42:26 2012 +0200 recognize also keypad arrow keys diff --git a/gemrb/plugins/SDLVideo/SDLVideo.cpp b/gemrb/plugins/SDLVideo/SDLVideo.cpp index 117df28..f117374 100644 --- a/gemrb/plugins/SDLVideo/SDLVideo.cpp +++ b/gemrb/plugins/SDLVideo/SDLVideo.cpp @@ -186,15 +186,19 @@ int SDLVideoDriver::ProcessEvent(const SDL_Event & event) key = GEM_HOME; break; case SDLK_UP: + case SDLK_KP8: key = GEM_UP; break; case SDLK_DOWN: + case SDLK_KP2: key = GEM_DOWN; break; case SDLK_LEFT: + case SDLK_KP4: key = GEM_LEFT; break; case SDLK_RIGHT: + case SDLK_KP6: key = GEM_RIGHT; break; case SDLK_DELETE: ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |