summaryrefslogtreecommitdiff
path: root/apps/plugins/mp3_encoder.c
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-01 22:55:09 +0000
commitd6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch)
tree2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/mp3_encoder.c
parent9876d91e351f457bac7f5ea3459dc12ef021078a (diff)
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mp3_encoder.c')
-rw-r--r--apps/plugins/mp3_encoder.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c
index bd6c667873..458f124854 100644
--- a/apps/plugins/mp3_encoder.c
+++ b/apps/plugins/mp3_encoder.c
@@ -2322,6 +2322,13 @@ void get_mp3_filename(char *wav_name)
#define MP3ENC_NEXT BUTTON_DOWN
#define MP3ENC_DONE BUTTON_BACK
#define MP3ENC_SELECT BUTTON_SELECT
+#elif CONFIG_KEYPAD == MROBE100_PAD
+#define MP3ENC_PREV BUTTON_UP
+#define MP3ENC_NEXT BUTTON_DOWN
+#define MP3ENC_DONE BUTTON_POWER
+#define MP3ENC_SELECT BUTTON_SELECT
+#else
+#error No keymap defined!
#endif
enum plugin_status plugin_start(struct plugin_api* api, void* parameter)