diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-16 22:10:22 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-16 22:10:22 +0100 |
commit | cefaa46573c487a38a7025c737a46fcecc76db4e (patch) | |
tree | 39dfd758aaf8cf067294de975db9cd209f07d432 /uisimulator/buttonmap/creative-zen.c | |
parent | db392245e2524085bbfb67b09fa1e6634752c529 (diff) | |
download | rockbox-cefaa46573c487a38a7025c737a46fcecc76db4e.tar.gz rockbox-cefaa46573c487a38a7025c737a46fcecc76db4e.zip |
zenxfistyle: add simulator bitmap and button map
Change-Id: I68a107887e6b1563b6c5ab425e98be7e012e7976
Diffstat (limited to 'uisimulator/buttonmap/creative-zen.c')
-rw-r--r-- | uisimulator/buttonmap/creative-zen.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/uisimulator/buttonmap/creative-zen.c b/uisimulator/buttonmap/creative-zen.c index e8f07b4e94..fa54aadb47 100644 --- a/uisimulator/buttonmap/creative-zen.c +++ b/uisimulator/buttonmap/creative-zen.c | |||
@@ -129,6 +129,19 @@ struct button_map bm[] = { | |||
129 | { SDLK_PAGEDOWN, 101, 313, 15, "Play" }, | 129 | { SDLK_PAGEDOWN, 101, 313, 15, "Play" }, |
130 | { 0, 0, 0, 0, "None" } | 130 | { 0, 0, 0, 0, "None" } |
131 | }; | 131 | }; |
132 | #elif defined(CREATIVE_ZENXFISTYLE) | ||
133 | struct button_map bm[] = { | ||
134 | { SDLK_LEFT, 437, 157, 13, "Left" }, | ||
135 | { SDLK_RIGHT, 504, 157, 13, "Right" }, | ||
136 | { SDLK_UP, 471, 125, 13, "Up" }, | ||
137 | { SDLK_DOWN, 471, 192, 13, "Down" }, | ||
138 | { SDLK_RETURN, 471, 157, 25, "Select" }, | ||
139 | { SDLK_HOME, 447, 57, 15, "Back" }, | ||
140 | { SDLK_PAGEUP, 495, 57, 15, "Menu" }, | ||
141 | { SDLK_END, 447, 259, 15, "Shortcut" }, | ||
142 | { SDLK_PAGEDOWN, 495, 259, 15, "Play" }, | ||
143 | { 0, 0, 0, 0, "None" } | ||
144 | }; | ||
132 | #else | 145 | #else |
133 | #error please define button map | 146 | #error please define button map |
134 | #endif | 147 | #endif |