Flipit for Sansa c200 and add the help text in the welcome screen for both Sansas. Update the manual as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15266 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marianne Arnold 2007-10-22 13:53:16 +00:00
parent 69bd0f82e3
commit 543c49a483
5 changed files with 19 additions and 11 deletions

View File

@ -21,7 +21,6 @@ stopwatch.c
vbrfix.c
viewer.c
#if CONFIG_CODEC == SWCODEC
metronome.c
#endif
@ -36,16 +35,13 @@ wavrecord.c
#ifndef IRIVER_IFP7XX_SERIES /* Temporarily disable plugins for iFP7xx */
dice.c
disktidy.c
#ifndef SANSA_C200
flipit.c
#endif
#ifdef HAVE_LCD_BITMAP /* Not for the Player */
maze.c
mazezam.c
text_editor.c
wavview.c
robotfindskitten.c
/* Plugins needing the grayscale lib on low-depth LCDs */
fire.c

View File

@ -202,6 +202,9 @@ flipit_tokens.28x56x16.bmp
#elif LCD_WIDTH >= 125 && LCD_HEIGHT >= 110
flipit_cursor.25x25x16.bmp
flipit_tokens.25x50x16.bmp
#elif LCD_WIDTH >= 85 && LCD_HEIGHT >= 78
flipit_cursor.17x17x16.bmp
flipit_tokens.17x34x16.bmp
#endif
#elif LCD_DEPTH > 1 /* greyscale */
#if LCD_WIDTH >= 140 && LCD_HEIGHT >= 122

View File

@ -107,7 +107,8 @@ PLUGIN_HEADER
#define FLIPIT_STEP_BY_STEP BUTTON_VOL_DOWN
#define FLIPIT_TOGGLE BUTTON_SELECT
#elif CONFIG_KEYPAD == SANSA_E200_PAD
#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
(CONFIG_KEYPAD == SANSA_C200_PAD)
#define FLIPIT_UP BUTTON_UP
#define FLIPIT_DOWN BUTTON_DOWN
@ -523,6 +524,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->lcd_putsxy(2, 28, "[PL-LEFT] shuffle");
rb->lcd_putsxy(2, 38, "[PL-RIGHT] solution");
rb->lcd_putsxy(2, 48, "[PL-UP] step by step");
#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
(CONFIG_KEYPAD == SANSA_C200_PAD)
rb->lcd_putsxy(2, 8, "[POWER] to stop");
rb->lcd_putsxy(2, 18, "[SELECT] toggle");
rb->lcd_putsxy(2, 28, "[REC-LEFT] shuffle");
rb->lcd_putsxy(2, 38, "[REC-RIGHT] solution");
rb->lcd_putsxy(2, 48, "[REC-SEL] step by step");
#endif
rb->lcd_update();
#else /* HAVE_LCD_CHARCELLS */

View File

@ -8,14 +8,15 @@ a screen containing tokens of only one colour.
\begin{table}
\begin{btnmap}{}{}
\opt{PLAYER_PAD}{\ButtonOn/\ButtonMenu/\ButtonLeft/\ButtonRight}
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,GIGABEAT_PAD}
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD}
{\ButtonUp/\ButtonDown/\ButtonLeft/\ButtonRight}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay/\ButtonLeft/\ButtonRight}
\opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown/\ButtonLeft/\ButtonRight}
& Move the cursor \\
\opt{PLAYER_PAD,RECORDER_PAD}{\ButtonPlay}
\opt{ONDIO_PAD}{\ButtonMenu}
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,GIGABEAT_PAD}{\ButtonSelect}
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD}
{\ButtonSelect}
\opt{IRIVER_H10_PAD}{\ButtonRew}
& Flip \\
\opt{PLAYER_PAD}{\ButtonOn+\ButtonLeft}
@ -24,7 +25,7 @@ a screen containing tokens of only one colour.
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay+\ButtonLeft}
\opt{SANSA_E200_PAD}{\ButtonRec+\ButtonLeft}
\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec+\ButtonLeft}
\opt{GIGABEAT_PAD}{\ButtonMenu}
& Shuffle \\
\opt{PLAYER_PAD}{\ButtonOn+\ButtonRight}
@ -33,7 +34,7 @@ a screen containing tokens of only one colour.
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay+\ButtonRight}
\opt{SANSA_E200_PAD}{\ButtonRec+\ButtonRight}
\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec+\ButtonRight}
\opt{GIGABEAT_PAD}{\ButtonVolUp}
& Solve \\
\opt{PLAYER_PAD}{\ButtonOn+\ButtonPlay}
@ -43,13 +44,13 @@ a screen containing tokens of only one colour.
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
\opt{IAUDIO_X5_PAD}{\ButtonPlay+\ButtonUp}
\opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollUp}
\opt{SANSA_E200_PAD}{\ButtonRec+\ButtonSelect}
\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec+\ButtonSelect}
\opt{GIGABEAT_PAD}{\ButtonVolDown}
& Solve step by step \\
\opt{PLAYER_PAD}{\ButtonStop}
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,GIGABEAT_PAD}{\ButtonPower}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonPower}
& Quit the game \\
\end{btnmap}
\end{table}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB