[Supertux-Commit] r5482 - trunk/supertux/src/control

grumbel at millhouse.dreamhost.com grumbel at millhouse.dreamhost.com
Thu May 15 10:24:47 PDT 2008


Author: grumbel
Date: 2008-05-15 10:24:46 -0700 (Thu, 15 May 2008)
New Revision: 5482

Modified:
   trunk/supertux/src/control/joystickkeyboardcontroller.cpp
Log:
More useful default keybindings for peeking

Modified: trunk/supertux/src/control/joystickkeyboardcontroller.cpp
===================================================================
--- trunk/supertux/src/control/joystickkeyboardcontroller.cpp	2008-05-15 07:08:19 UTC (rev 5481)
+++ trunk/supertux/src/control/joystickkeyboardcontroller.cpp	2008-05-15 17:24:46 UTC (rev 5482)
@@ -82,9 +82,9 @@
   keymap[SDLK_KP_ENTER] = MENU_SELECT;
   keymap[SDLK_CARET]    = CONSOLE;
   keymap[SDLK_DELETE]   = PEEK_LEFT;
-  keymap[SDLK_END]      = PEEK_RIGHT;
-  keymap[SDLK_PAGEUP]   = PEEK_UP;
-  keymap[SDLK_PAGEDOWN] = PEEK_DOWN;
+  keymap[SDLK_PAGEDOWN] = PEEK_RIGHT;
+  keymap[SDLK_HOME]     = PEEK_UP;
+  keymap[SDLK_END]      = PEEK_DOWN;
 
   jump_with_up_joy = false;
   jump_with_up_kbd = false;




More information about the Supertux-Commit mailing list