diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-10 08:59:08 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-10 08:59:08 +0000 |
commit | ccf3283a6fc65edb969b8c2621906f52d4d55e81 (patch) | |
tree | b2caa2bb09d6853c810471040b36281b9710ef0d /apps | |
parent | 383b3c1b8d90de551b1d2cf0540e9d9925347c29 (diff) | |
download | rockbox-ccf3283a6fc65edb969b8c2621906f52d4d55e81.tar.gz rockbox-ccf3283a6fc65edb969b8c2621906f52d4d55e81.zip |
Add iPod button definitions for Metronome
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8321 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/SOURCES | 6 | ||||
-rw-r--r-- | apps/plugins/metronome.c | 9 |
2 files changed, 11 insertions, 4 deletions
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 | |||
17 | viewer.c | 17 | viewer.c |
18 | dict.c | 18 | dict.c |
19 | 19 | ||
20 | #if CONFIG_KEYPAD != IPOD_4G_PAD | ||
21 | metronome.c | ||
22 | #endif | ||
23 | |||
24 | #ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */ | 20 | #ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */ |
25 | solitaire.c | 21 | solitaire.c |
26 | #ifndef HAVE_LCD_COLOR | 22 | #ifndef HAVE_LCD_COLOR |
@@ -36,6 +32,7 @@ flipit.c | |||
36 | grayscale.c | 32 | grayscale.c |
37 | jpeg.c | 33 | jpeg.c |
38 | mandelbrot.c | 34 | mandelbrot.c |
35 | metronome.c | ||
39 | minesweeper.c | 36 | minesweeper.c |
40 | oscillograph.c | 37 | oscillograph.c |
41 | oscilloscope.c | 38 | oscilloscope.c |
@@ -91,4 +88,5 @@ wav2wv.c | |||
91 | midi2wav.c | 88 | midi2wav.c |
92 | #else | 89 | #else |
93 | splitedit.c | 90 | splitedit.c |
91 | metronome.c | ||
94 | #endif | 92 | #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 @@ | |||
55 | #define METRONOME_SYNC BUTTON_REC | 55 | #define METRONOME_SYNC BUTTON_REC |
56 | #define METRONOME_MSG_START "press play" | 56 | #define METRONOME_MSG_START "press play" |
57 | #define METRONOME_MSG_STOP "press pause" | 57 | #define METRONOME_MSG_STOP "press pause" |
58 | |||
59 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) | ||
60 | #define METRONOME_QUIT BUTTON_MENU | ||
61 | #define METRONOME_PLAYPAUSE BUTTON_PLAY | ||
62 | #define METRONOME_VOL_UP BUTTON_SCROLL_FWD | ||
63 | #define METRONOME_VOL_DOWN BUTTON_SCROLL_BACK | ||
64 | #define METRONOME_TAP BUTTON_SELECT | ||
65 | #define METRONOME_MSG_START "press play" | ||
66 | #define METRONOME_MSG_STOP "press pause" | ||
58 | #endif | 67 | #endif |
59 | 68 | ||
60 | #if CONFIG_REMOTE_KEYPAD == H100_REMOTE | 69 | #if CONFIG_REMOTE_KEYPAD == H100_REMOTE |