summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-31 21:11:32 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-31 21:11:32 +0000
commit9680244f4a4b8625922867dd27d3cc59d0356c7a (patch)
treecc5336055c4f83ca2af5143ea12ed0abf602c4b1 /uisimulator
parenta56199c49e3b22bdde97a7ff5b058ffd761c4a65 (diff)
downloadrockbox-9680244f4a4b8625922867dd27d3cc59d0356c7a.tar.gz
rockbox-9680244f4a4b8625922867dd27d3cc59d0356c7a.tar.bz2
rockbox-9680244f4a4b8625922867dd27d3cc59d0356c7a.zip
* Fix plugin keymaps for VX777
* Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button.c4
-rw-r--r--uisimulator/sdl/uisdl.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 5987584420..45dfc3fe2c 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -1166,6 +1166,10 @@ void button_event(int key, bool pressed)
case SDLK_RETURN:
new_btn = BUTTON_MENU;
break;
+#elif CONFIG_KEYPAD == ONDAVX777_PAD
+ case SDLK_ESCAPE:
+ new_btn = BUTTON_POWER;
+ break;
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
case SDLK_KP4:
case SDLK_LEFT:
diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h
index 962e49d8f1..7b0bbf0f24 100644
--- a/uisimulator/sdl/uisdl.h
+++ b/uisimulator/sdl/uisdl.h
@@ -315,11 +315,13 @@
#define UI_LCD_POSX 42 /* x position of lcd */
#define UI_LCD_POSY 55 /* y position of lcd */
-#elif defined(ONDA_VX747) || defined(ONDA_VX747P)
+#elif defined(ONDA_VX747) || defined(ONDA_VX747P) || defined(ONDA_VX777)
#ifdef ONDA_VX747
#define UI_TITLE "Onda VX747"
-#else
+#elif defined(ONDA_VX747P)
#define UI_TITLE "Onda VX747+"
+#else
+#define UI_TITLE "Onda VX777"
#endif
#define UI_WIDTH 340 /* width of GUI window */
#define UI_HEIGHT 601 /* height of GUI window */