diff options
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r-- | uisimulator/sdl/button.c | 4 | ||||
-rw-r--r-- | uisimulator/sdl/uisdl.h | 6 |
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) | |||
1166 | case SDLK_RETURN: | 1166 | case SDLK_RETURN: |
1167 | new_btn = BUTTON_MENU; | 1167 | new_btn = BUTTON_MENU; |
1168 | break; | 1168 | break; |
1169 | #elif CONFIG_KEYPAD == ONDAVX777_PAD | ||
1170 | case SDLK_ESCAPE: | ||
1171 | new_btn = BUTTON_POWER; | ||
1172 | break; | ||
1169 | #elif CONFIG_KEYPAD == SAMSUNG_YH_PAD | 1173 | #elif CONFIG_KEYPAD == SAMSUNG_YH_PAD |
1170 | case SDLK_KP4: | 1174 | case SDLK_KP4: |
1171 | case SDLK_LEFT: | 1175 | 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 @@ | |||
315 | #define UI_LCD_POSX 42 /* x position of lcd */ | 315 | #define UI_LCD_POSX 42 /* x position of lcd */ |
316 | #define UI_LCD_POSY 55 /* y position of lcd */ | 316 | #define UI_LCD_POSY 55 /* y position of lcd */ |
317 | 317 | ||
318 | #elif defined(ONDA_VX747) || defined(ONDA_VX747P) | 318 | #elif defined(ONDA_VX747) || defined(ONDA_VX747P) || defined(ONDA_VX777) |
319 | #ifdef ONDA_VX747 | 319 | #ifdef ONDA_VX747 |
320 | #define UI_TITLE "Onda VX747" | 320 | #define UI_TITLE "Onda VX747" |
321 | #else | 321 | #elif defined(ONDA_VX747P) |
322 | #define UI_TITLE "Onda VX747+" | 322 | #define UI_TITLE "Onda VX747+" |
323 | #else | ||
324 | #define UI_TITLE "Onda VX777" | ||
323 | #endif | 325 | #endif |
324 | #define UI_WIDTH 340 /* width of GUI window */ | 326 | #define UI_WIDTH 340 /* width of GUI window */ |
325 | #define UI_HEIGHT 601 /* height of GUI window */ | 327 | #define UI_HEIGHT 601 /* height of GUI window */ |