diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-08-31 21:11:32 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-08-31 21:11:32 +0000 |
commit | 9680244f4a4b8625922867dd27d3cc59d0356c7a (patch) | |
tree | cc5336055c4f83ca2af5143ea12ed0abf602c4b1 /uisimulator/sdl | |
parent | a56199c49e3b22bdde97a7ff5b058ffd761c4a65 (diff) | |
download | rockbox-9680244f4a4b8625922867dd27d3cc59d0356c7a.tar.gz 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/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 */ |