1
0
Fork 0
forked from len0rd/rockbox

Add iPod button definitions for Metronome

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8321 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-01-10 08:59:08 +00:00
parent 383b3c1b8d
commit ccf3283a6f
2 changed files with 11 additions and 4 deletions

View file

@ -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

View file

@ -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