summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-06-05 17:09:13 +0000
committerThomas Martitz <kugel@rockbox.org>2010-06-05 17:09:13 +0000
commit4477902738375a67638b97a9abdba1d853dc60b5 (patch)
tree3f03c509afa02669be2053bd9cc9fc3db599d6ef
parentefbc5df5f7b0b5a79c0e9883e4507d8fe0ce7cf5 (diff)
downloadrockbox-4477902738375a67638b97a9abdba1d853dc60b5.tar.gz
rockbox-4477902738375a67638b97a9abdba1d853dc60b5.tar.bz2
rockbox-4477902738375a67638b97a9abdba1d853dc60b5.zip
Mini2440: Fix simulator. It's touchscreen so there's button clashes when trying to map the 6 hw buttons as well. Just remove that for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26590 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c35
1 files changed, 1 insertions, 34 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index 15633eede5..20dcf6349d 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -1345,40 +1345,7 @@ static void button_event(int key, bool pressed)
new_btn = BUTTON_REC;
break;
#elif CONFIG_KEYPAD == MINI2440_PAD
- case SDLK_LEFT:
- new_btn = BUTTON_LEFT;
- break;
- case SDLK_RIGHT:
- new_btn = BUTTON_RIGHT;
- break;
- case SDLK_UP:
- new_btn = BUTTON_UP;
- break;
- case SDLK_DOWN:
- new_btn = BUTTON_DOWN;
- break;
- case SDLK_F8:
- case SDLK_ESCAPE:
- new_btn = BUTTON_POWER;
- break;
- case SDLK_KP_ENTER:
- case SDLK_RETURN:
- case SDLK_a:
- new_btn = BUTTON_A;
- break;
- case SDLK_SPACE:
- new_btn = BUTTON_SELECT;
- break;
- case SDLK_KP_PERIOD:
- case SDLK_INSERT:
- new_btn = BUTTON_MENU;
- break;
- case SDLK_KP_PLUS:
- new_btn = BUTTON_VOL_UP;
- break;
- case SDLK_KP_MINUS:
- new_btn = BUTTON_VOL_DOWN;
- break;
+ /* no keymap, touchscreen */
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
case SDLK_KP4:
case SDLK_LEFT: