projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90d0d5
)
Removed obsolete keycode range check
author
Ingo Ruhnke
<grumbel@gmail.com>
Wed, 6 Aug 2014 03:46:11 +0000
(
05:46
+0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Wed, 6 Aug 2014 03:46:11 +0000
(
05:46
+0200)
src/control/joystickkeyboardcontroller.cpp
patch
|
blob
|
history
diff --git
a/src/control/joystickkeyboardcontroller.cpp
b/src/control/joystickkeyboardcontroller.cpp
index
fe695bd
..
50de739
100644
(file)
--- a/
src/control/joystickkeyboardcontroller.cpp
+++ b/
src/control/joystickkeyboardcontroller.cpp
@@
-87,10
+87,6
@@
JoystickKeyboardController::read(const Reader& lisp)
const lisp::Lisp* map = iter.lisp();
map->get("key", key);
map->get("control", control);
-// if (key < SDLK_FIRST || key >= SDLK_LAST) {
-// log_info << "Invalid key '" << key << "' in keymap" << std::endl;
-// continue;
-// }
int i = 0;
for(i = 0; Controller::controlNames[i] != 0; ++i) {