summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2009-04-05 17:35:48 +0000
committerAntoine Cellerier <dionoea@videolan.org>2009-04-05 17:35:48 +0000
commit443a4e2296da68e0cf1b802db8eebb518d9e3f16 (patch)
tree073a1f1127dfd9074bcda634aa993437cfebad1f /uisimulator
parent453b053c298ef4e71c5ac3683c1f0de5806ef426 (diff)
downloadrockbox-443a4e2296da68e0cf1b802db8eebb518d9e3f16.tar.gz
rockbox-443a4e2296da68e0cf1b802db8eebb518d9e3f16.tar.bz2
rockbox-443a4e2296da68e0cf1b802db8eebb518d9e3f16.zip
Add a few simulator keys for the e200 (in case you don't have a numpad)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20628 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index c32c0a8c6a..e9fa03cbef 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -674,15 +674,19 @@ void button_event(int key, bool pressed)
new_btn = BUTTON_SCROLL_FWD;
break;
case SDLK_KP9:
+ case SDLK_PAGEUP:
new_btn = BUTTON_UP;
break;
case SDLK_KP3:
+ case SDLK_PAGEDOWN:
new_btn = BUTTON_DOWN;
break;
case SDLK_KP1:
+ case SDLK_HOME:
new_btn = BUTTON_POWER;
break;
case SDLK_KP7:
+ case SDLK_END:
new_btn = BUTTON_REC;
break;
case SDLK_KP5: