diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 3236125399..5bb84a7a0a 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -17,10 +17,6 @@ vbrfix.c viewer.c dict.c -#if CONFIG_KEYPAD != IPOD_4G_PAD -metronome.c -#endif - #ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */ solitaire.c #ifndef HAVE_LCD_COLOR @@ -36,6 +32,7 @@ flipit.c grayscale.c jpeg.c mandelbrot.c +metronome.c minesweeper.c oscillograph.c oscilloscope.c @@ -91,4 +88,5 @@ wav2wv.c midi2wav.c #else splitedit.c +metronome.c #endif diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c index bf1a1a31e1..587d9f5fe1 100644 --- a/apps/plugins/metronome.c +++ b/apps/plugins/metronome.c @@ -55,6 +55,15 @@ #define METRONOME_SYNC BUTTON_REC #define METRONOME_MSG_START "press play" #define METRONOME_MSG_STOP "press pause" + +#elif (CONFIG_KEYPAD == IPOD_4G_PAD) +#define METRONOME_QUIT BUTTON_MENU +#define METRONOME_PLAYPAUSE BUTTON_PLAY +#define METRONOME_VOL_UP BUTTON_SCROLL_FWD +#define METRONOME_VOL_DOWN BUTTON_SCROLL_BACK +#define METRONOME_TAP BUTTON_SELECT +#define METRONOME_MSG_START "press play" +#define METRONOME_MSG_STOP "press pause" #endif #if CONFIG_REMOTE_KEYPAD == H100_REMOTE