zenxfistyle: add simulator bitmap and button map
Change-Id: I68a107887e6b1563b6c5ab425e98be7e012e7976
This commit is contained in:
parent
db392245e2
commit
cefaa46573
3 changed files with 20 additions and 0 deletions
|
@ -501,6 +501,13 @@
|
||||||
#define UI_LCD_POSX 27
|
#define UI_LCD_POSX 27
|
||||||
#define UI_LCD_POSY 48
|
#define UI_LCD_POSY 48
|
||||||
|
|
||||||
|
#elif defined(CREATIVE_ZENXFISTYLE)
|
||||||
|
#define UI_TITLE "Creative ZEN X-Fi Style"
|
||||||
|
#define UI_WIDTH 548 /* width of GUI window */
|
||||||
|
#define UI_HEIGHT 318/* height of GUI window */
|
||||||
|
#define UI_LCD_POSX 46
|
||||||
|
#define UI_LCD_POSY 40
|
||||||
|
|
||||||
#elif defined(SIMULATOR)
|
#elif defined(SIMULATOR)
|
||||||
#error no UI defines
|
#error no UI defines
|
||||||
#endif
|
#endif
|
||||||
|
|
BIN
uisimulator/bitmaps/UI-creativezenxfistyle.bmp
Normal file
BIN
uisimulator/bitmaps/UI-creativezenxfistyle.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 511 KiB |
|
@ -129,6 +129,19 @@ struct button_map bm[] = {
|
||||||
{ SDLK_PAGEDOWN, 101, 313, 15, "Play" },
|
{ SDLK_PAGEDOWN, 101, 313, 15, "Play" },
|
||||||
{ 0, 0, 0, 0, "None" }
|
{ 0, 0, 0, 0, "None" }
|
||||||
};
|
};
|
||||||
|
#elif defined(CREATIVE_ZENXFISTYLE)
|
||||||
|
struct button_map bm[] = {
|
||||||
|
{ SDLK_LEFT, 437, 157, 13, "Left" },
|
||||||
|
{ SDLK_RIGHT, 504, 157, 13, "Right" },
|
||||||
|
{ SDLK_UP, 471, 125, 13, "Up" },
|
||||||
|
{ SDLK_DOWN, 471, 192, 13, "Down" },
|
||||||
|
{ SDLK_RETURN, 471, 157, 25, "Select" },
|
||||||
|
{ SDLK_HOME, 447, 57, 15, "Back" },
|
||||||
|
{ SDLK_PAGEUP, 495, 57, 15, "Menu" },
|
||||||
|
{ SDLK_END, 447, 259, 15, "Shortcut" },
|
||||||
|
{ SDLK_PAGEDOWN, 495, 259, 15, "Play" },
|
||||||
|
{ 0, 0, 0, 0, "None" }
|
||||||
|
};
|
||||||
#else
|
#else
|
||||||
#error please define button map
|
#error please define button map
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue