summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-10-13 12:54:25 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-10-13 12:54:25 +0000
commitc85ff1c0c95f9bf22e1d1fb4c202e1dcdabbb3db (patch)
treef0fe5d6eda341e1b9103cb1be105460f5d8b8b62 /uisimulator
parent58322542899a4f5de348566e1a65e514b8e5ff66 (diff)
downloadrockbox-c85ff1c0c95f9bf22e1d1fb4c202e1dcdabbb3db.tar.gz
rockbox-c85ff1c0c95f9bf22e1d1fb4c202e1dcdabbb3db.tar.bz2
rockbox-c85ff1c0c95f9bf22e1d1fb4c202e1dcdabbb3db.zip
fix button maps and assign some buttons for uisimulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28268 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/buttonmap/gigabeat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/buttonmap/gigabeat.c b/uisimulator/buttonmap/gigabeat.c
index 540b9f6ce8..5f14665d7c 100644
--- a/uisimulator/buttonmap/gigabeat.c
+++ b/uisimulator/buttonmap/gigabeat.c
@@ -46,8 +46,6 @@ int key_to_button(int keyboard_button)
break;
case SDLK_KP_PLUS:
case SDLK_F8:
- new_btn = BUTTON_POWER;
- break;
case SDLK_ESCAPE:
new_btn = BUTTON_POWER;
break;
@@ -65,9 +63,11 @@ int key_to_button(int keyboard_button)
new_btn = BUTTON_MENU;
break;
case SDLK_KP9:
+ case SDLK_PAGEUP:
new_btn = BUTTON_VOL_UP;
break;
case SDLK_KP3:
+ case SDLK_PAGEDOWN:
new_btn = BUTTON_VOL_DOWN;
break;
}