From d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 Mon Sep 17 00:00:00 2001 From: Robert Kukla Date: Sat, 1 Mar 2008 22:55:09 +0000 Subject: 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 --- apps/plugins/mp3_encoder.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/plugins/mp3_encoder.c') 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) -- cgit v1.2.3