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:
parent
383b3c1b8d
commit
ccf3283a6f
2 changed files with 11 additions and 4 deletions
|
@ -17,10 +17,6 @@ vbrfix.c
|
||||||
viewer.c
|
viewer.c
|
||||||
dict.c
|
dict.c
|
||||||
|
|
||||||
#if CONFIG_KEYPAD != IPOD_4G_PAD
|
|
||||||
metronome.c
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */
|
#ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */
|
||||||
solitaire.c
|
solitaire.c
|
||||||
#ifndef HAVE_LCD_COLOR
|
#ifndef HAVE_LCD_COLOR
|
||||||
|
@ -36,6 +32,7 @@ flipit.c
|
||||||
grayscale.c
|
grayscale.c
|
||||||
jpeg.c
|
jpeg.c
|
||||||
mandelbrot.c
|
mandelbrot.c
|
||||||
|
metronome.c
|
||||||
minesweeper.c
|
minesweeper.c
|
||||||
oscillograph.c
|
oscillograph.c
|
||||||
oscilloscope.c
|
oscilloscope.c
|
||||||
|
@ -91,4 +88,5 @@ wav2wv.c
|
||||||
midi2wav.c
|
midi2wav.c
|
||||||
#else
|
#else
|
||||||
splitedit.c
|
splitedit.c
|
||||||
|
metronome.c
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -55,6 +55,15 @@
|
||||||
#define METRONOME_SYNC BUTTON_REC
|
#define METRONOME_SYNC BUTTON_REC
|
||||||
#define METRONOME_MSG_START "press play"
|
#define METRONOME_MSG_START "press play"
|
||||||
#define METRONOME_MSG_STOP "press pause"
|
#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
|
#endif
|
||||||
|
|
||||||
#if CONFIG_REMOTE_KEYPAD == H100_REMOTE
|
#if CONFIG_REMOTE_KEYPAD == H100_REMOTE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue