From 9680244f4a4b8625922867dd27d3cc59d0356c7a Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 31 Aug 2009 21:11:32 +0000 Subject: * 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 --- uisimulator/sdl/button.c | 4 ++++ uisimulator/sdl/uisdl.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'uisimulator/sdl') 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 */ -- cgit v1.2.3