summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-02-11 01:29:54 +0000
committerJens Arnold <amiconn@rockbox.org>2005-02-11 01:29:54 +0000
commit9540759bab0e80ee8ab7384214eb15ee67f2c3ef (patch)
treea559fe438c7bafaeddd559cf0d88add63c03de69 /uisimulator/x11
parent0dfc90e70d41507ac51f0fb368f9f93a3403c388 (diff)
downloadrockbox-9540759bab0e80ee8ab7384214eb15ee67f2c3ef.tar.gz
rockbox-9540759bab0e80ee8ab7384214eb15ee67f2c3ef.tar.bz2
rockbox-9540759bab0e80ee8ab7384214eb15ee67f2c3ef.zip
Print correct button assignments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5896 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11')
-rw-r--r--uisimulator/x11/screenhack.c68
1 files changed, 48 insertions, 20 deletions
diff --git a/uisimulator/x11/screenhack.c b/uisimulator/x11/screenhack.c
index 052328fa6a..e2ed6b5d6f 100644
--- a/uisimulator/x11/screenhack.c
+++ b/uisimulator/x11/screenhack.c
@@ -69,27 +69,55 @@
#define KEYBOARD_GENERIC \
"Keyboard Rockbox\n" \
- "-------- --------------\n" \
- "+ ON\n" \
- "8 UP\n" \
- "2 DOWN\n" \
- "4 LEFT\n" \
-
-#ifdef HAVE_LCD_BITMAP
-#define KEYBOARD_SPECIFIC \
- "6 RIGHT\n" \
- "Enter OFF\n" \
- "5 PLAY\n" \
- "/ F1\n" \
- "* F2\n" \
- "- F3\n"
-#else
-#define KEYBOARD_SPECIFIC \
- "6 RIGHT/PLAY (there's no separation between PLAY and RIGHT)\n" \
- "Enter MENU\n"
-#endif
-
+ "-------- ------------\n" \
+ "2, Left LEFT\n" \
+ "6, Right RIGHT\n"
+
+#if CONFIG_KEYPAD == PLAYER_PAD
+#define KEYBOARD_SPECIFIC \
+ "8, Up PLAY\n" \
+ "2, Down STOP\n" \
+ "+, Q ON\n" \
+ "., INS MENU\n"
+
+#elif CONFIG_KEYPAD == RECORDER_PAD
+#define KEYBOARD_SPECIFIC \
+ "8, Up UP\n" \
+ "2, Down DOWN\n" \
+ "5, Space PLAY\n" \
+ "+, Q ON\n" \
+ "Enter, A OFF\n" \
+ "/, (1) F1\n" \
+ "*, (2) F2\n" \
+ "-, (3) F3\n"
+
+#elif CONFIG_KEYPAD == ONDIO_PAD
+#define KEYBOARD_SPECIFIC \
+ "8, Up UP\n" \
+ "2, Down DOWN\n" \
+ "., INS MENU\n" \
+ "Enter, A OFF\n"
+
+#elif CONFIG_KEYPAD == IRIVER_H100_PAD
+#define KEYBOARD_SPECIFIC \
+ "8, Up UP\n" \
+ "2, Down DOWN\n" \
+ "5, Space SELECT\n" \
+ "+, Q ON\n" \
+ "Enter, A OFF\n" \
+ "., INS MODE\n" \
+ "/, (1) RECORD\n"
+
+#elif CONFIG_KEYPAD == GMINI_PAD
+#define KEYBOARD_SPECIFIC \
+ "8, Up UP\n" \
+ "2, Down DOWN\n" \
+ "5, Space PLAY\n" \
+ "+, Q ON\n" \
+ "Enter, A OFF\n" \
+ "., INS MENU\n"
+#endif
char having_new_lcd=True;