pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] [pingus] push by address@hidden - Fixed problem with input


From: pingus
Subject: [Pingus-CVS] [pingus] push by address@hidden - Fixed problem with input event routing on 2011-09-07 12:06 GMT
Date: Wed, 07 Sep 2011 14:14:05 +0000

Revision: ec4225e24a6f
Author:   Ingo Ruhnke <address@hidden>
Date:     Wed Sep  7 05:06:26 2011
Log:      Fixed problem with input event routing

http://code.google.com/p/pingus/source/detail?r=ec4225e24a6f

Modified:
 /src/engine/input/sdl_driver.cpp

=======================================
--- /src/engine/input/sdl_driver.cpp    Wed Sep  7 04:00:46 2011
+++ /src/engine/input/sdl_driver.cpp    Wed Sep  7 07:13:52 2011
@@ -257,11 +257,7 @@
         Display::resize(Size(event.resize.w, event.resize.h));
         break;

-      case SDL_KEYDOWN:
-        if (keyboard_binding)
-          keyboard_binding->send_char(event.key);
-        break;
-
+      case SDL_KEYDOWN:
       case SDL_KEYUP:
         // keyboard events
         if (keyboard_binding)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]