summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-15 20:41:02 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-15 20:41:02 +0000
commitc18495842a1be1267eb816e4fe8630923f95d824 (patch)
tree72006aa3d96a0b4d2bc0c4da85556f948ebfb083 /uisimulator
parentc038ab47108527b61935d0a243bbff189c11de70 (diff)
downloadrockbox-c18495842a1be1267eb816e4fe8630923f95d824.tar.gz
rockbox-c18495842a1be1267eb816e4fe8630923f95d824.tar.bz2
rockbox-c18495842a1be1267eb816e4fe8630923f95d824.zip
Onda VX747 simulator: add some more usefull keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21303 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 99cca38f66..7ceaa5f788 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -1093,12 +1093,15 @@ void button_event(int key, bool pressed)
new_btn = BUTTON_POWER;
break;
case SDLK_KP_PLUS:
+ case SDLK_RIGHT:
new_btn = BUTTON_VOL_UP;
break;
case SDLK_KP_MINUS:
+ case SDLK_LEFT:
new_btn = BUTTON_VOL_DOWN;
break;
case SDLK_KP_ENTER:
+ case SDLK_RETURN:
new_btn = BUTTON_MENU;
break;
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD