summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-21 08:46:14 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-21 08:46:14 +0000
commit4bea14d6bf07cbf498bca2fa5489f6c6c781a681 (patch)
tree1b5da1d7e7b438e405066fac681a2b30c25414ae /uisimulator
parent9a9d9d046dc3ce24079e6dcadadd9fb46f981459 (diff)
downloadrockbox-4bea14d6bf07cbf498bca2fa5489f6c6c781a681.tar.gz
rockbox-4bea14d6bf07cbf498bca2fa5489f6c6c781a681.zip
Printing keyboard shortcuts at startup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3139 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/screenhack.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/uisimulator/x11/screenhack.c b/uisimulator/x11/screenhack.c
index 277e68be62..81650b57d7 100644
--- a/uisimulator/x11/screenhack.c
+++ b/uisimulator/x11/screenhack.c
@@ -64,6 +64,31 @@
# define _tolower(c) ((c) - 'A' + 'a')
#endif
+#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
+
+
+
+
char having_new_lcd=True;
char *progname;
@@ -358,6 +383,7 @@ int main (int argc, char **argv)
printf(" --old_lcd \t [Player] simulate old playermodel (ROM version<4.51)\n");
printf(" --player_zoom \t [Player] window zoom\n");
printf(" --recorder_zoom \t [Recorder] window zoom\n");
+ printf(KEYBOARD_GENERIC KEYBOARD_SPECIFIC);
exit(0);
}
}
@@ -371,6 +397,7 @@ int main (int argc, char **argv)
#endif
default_defaults[GEOMETRY_POSITION]=geometry;
}
+ printf(KEYBOARD_GENERIC KEYBOARD_SPECIFIC);
merge_options ();