diff options
author | Robert Kukla <roolku@rockbox.org> | 2008-07-06 12:27:03 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2008-07-06 12:27:03 +0000 |
commit | feeac4f15fdd6e680522b172f7217ab0a98ad0f7 (patch) | |
tree | e72e09c3ad72e6be27626ae40424c7d30d23a40d /uisimulator/sdl | |
parent | b1e16d21615397802930d66905d60fc6fee25b3d (diff) |
volume buttons for gigabeat sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17956 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r-- | uisimulator/sdl/UI-gigabeatf.bmp | bin | 1050742 -> 788674 bytes | |||
-rw-r--r-- | uisimulator/sdl/button.c | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/sdl/UI-gigabeatf.bmp b/uisimulator/sdl/UI-gigabeatf.bmp Binary files differindex 3f4104407c..7d60aebe8a 100644 --- a/uisimulator/sdl/UI-gigabeatf.bmp +++ b/uisimulator/sdl/UI-gigabeatf.bmp diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c index 9c9d019288..843f685226 100644 --- a/uisimulator/sdl/button.c +++ b/uisimulator/sdl/button.c @@ -246,6 +246,12 @@ void button_event(int key, bool pressed) case SDLK_INSERT: new_btn = BUTTON_MENU; break; + case SDLK_KP9: + new_btn = BUTTON_VOL_UP; + break; + case SDLK_KP3: + new_btn = BUTTON_VOL_DOWN; + break; #elif CONFIG_KEYPAD == GIGABEAT_S_PAD case SDLK_KP4: |