summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/hosted/sdl/sim-ui-defines.h7
-rw-r--r--uisimulator/bitmaps/UI-creativezenxfi2.bmpbin0 -> 569646 bytes
-rw-r--r--uisimulator/buttonmap/SOURCES2
3 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h
index c6133b49d7..edcc695ab2 100644
--- a/firmware/target/hosted/sdl/sim-ui-defines.h
+++ b/firmware/target/hosted/sdl/sim-ui-defines.h
@@ -445,6 +445,13 @@
#define UI_LCD_POSX 43
#define UI_LCD_POSY 65
+#elif defined(CREATIVE_ZENXFI2)
+#define UI_TITLE "Creative ZEN X-Fi2"
+#define UI_WIDTH 324 /* width of GUI window */
+#define UI_HEIGHT 586 /* height of GUI window */
+#define UI_LCD_POSX 42
+#define UI_LCD_POSY 42
+
#elif defined(APPLICATION)
#define UI_TITLE "Rockbox"
#define UI_LCD_POSX 0
diff --git a/uisimulator/bitmaps/UI-creativezenxfi2.bmp b/uisimulator/bitmaps/UI-creativezenxfi2.bmp
new file mode 100644
index 0000000000..df854edfe6
--- /dev/null
+++ b/uisimulator/bitmaps/UI-creativezenxfi2.bmp
Binary files differ
diff --git a/uisimulator/buttonmap/SOURCES b/uisimulator/buttonmap/SOURCES
index 7258490ec4..57f0e643f4 100644
--- a/uisimulator/buttonmap/SOURCES
+++ b/uisimulator/buttonmap/SOURCES
@@ -69,6 +69,8 @@ mpio-hd300.c
sansa-fuzeplus.c
#elif CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD
creative-zenxfi3.c
+#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD
+creative-zenxfi2.c
#elif CONFIG_KEYPAD == SANSA_CONNECT_PAD
sansa-connect.c
#endif