diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-06-05 17:09:13 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-06-05 17:09:13 +0000 |
commit | 4477902738375a67638b97a9abdba1d853dc60b5 (patch) | |
tree | 3f03c509afa02669be2053bd9cc9fc3db599d6ef /firmware/target | |
parent | efbc5df5f7b0b5a79c0e9883e4507d8fe0ce7cf5 (diff) | |
download | rockbox-4477902738375a67638b97a9abdba1d853dc60b5.tar.gz 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
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 35 |
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) | |||
1345 | new_btn = BUTTON_REC; | 1345 | new_btn = BUTTON_REC; |
1346 | break; | 1346 | break; |
1347 | #elif CONFIG_KEYPAD == MINI2440_PAD | 1347 | #elif CONFIG_KEYPAD == MINI2440_PAD |
1348 | case SDLK_LEFT: | 1348 | /* no keymap, touchscreen */ |
1349 | new_btn = BUTTON_LEFT; | ||
1350 | break; | ||
1351 | case SDLK_RIGHT: | ||
1352 | new_btn = BUTTON_RIGHT; | ||
1353 | break; | ||
1354 | case SDLK_UP: | ||
1355 | new_btn = BUTTON_UP; | ||
1356 | break; | ||
1357 | case SDLK_DOWN: | ||
1358 | new_btn = BUTTON_DOWN; | ||
1359 | break; | ||
1360 | case SDLK_F8: | ||
1361 | case SDLK_ESCAPE: | ||
1362 | new_btn = BUTTON_POWER; | ||
1363 | break; | ||
1364 | case SDLK_KP_ENTER: | ||
1365 | case SDLK_RETURN: | ||
1366 | case SDLK_a: | ||
1367 | new_btn = BUTTON_A; | ||
1368 | break; | ||
1369 | case SDLK_SPACE: | ||
1370 | new_btn = BUTTON_SELECT; | ||
1371 | break; | ||
1372 | case SDLK_KP_PERIOD: | ||
1373 | case SDLK_INSERT: | ||
1374 | new_btn = BUTTON_MENU; | ||
1375 | break; | ||
1376 | case SDLK_KP_PLUS: | ||
1377 | new_btn = BUTTON_VOL_UP; | ||
1378 | break; | ||
1379 | case SDLK_KP_MINUS: | ||
1380 | new_btn = BUTTON_VOL_DOWN; | ||
1381 | break; | ||
1382 | #elif CONFIG_KEYPAD == PBELL_VIBE500_PAD | 1349 | #elif CONFIG_KEYPAD == PBELL_VIBE500_PAD |
1383 | case SDLK_KP4: | 1350 | case SDLK_KP4: |
1384 | case SDLK_LEFT: | 1351 | case SDLK_LEFT: |