summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
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 */