forked from len0rd/rockbox
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:
parent
69bd0f82e3
commit
543c49a483
5 changed files with 19 additions and 11 deletions
|
@ -21,7 +21,6 @@ stopwatch.c
|
||||||
vbrfix.c
|
vbrfix.c
|
||||||
viewer.c
|
viewer.c
|
||||||
|
|
||||||
|
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
metronome.c
|
metronome.c
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,16 +35,13 @@ wavrecord.c
|
||||||
#ifndef IRIVER_IFP7XX_SERIES /* Temporarily disable plugins for iFP7xx */
|
#ifndef IRIVER_IFP7XX_SERIES /* Temporarily disable plugins for iFP7xx */
|
||||||
dice.c
|
dice.c
|
||||||
disktidy.c
|
disktidy.c
|
||||||
#ifndef SANSA_C200
|
|
||||||
flipit.c
|
flipit.c
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP /* Not for the Player */
|
#ifdef HAVE_LCD_BITMAP /* Not for the Player */
|
||||||
maze.c
|
maze.c
|
||||||
mazezam.c
|
mazezam.c
|
||||||
text_editor.c
|
text_editor.c
|
||||||
wavview.c
|
wavview.c
|
||||||
robotfindskitten.c
|
|
||||||
|
|
||||||
/* Plugins needing the grayscale lib on low-depth LCDs */
|
/* Plugins needing the grayscale lib on low-depth LCDs */
|
||||||
fire.c
|
fire.c
|
||||||
|
|
|
@ -202,6 +202,9 @@ flipit_tokens.28x56x16.bmp
|
||||||
#elif LCD_WIDTH >= 125 && LCD_HEIGHT >= 110
|
#elif LCD_WIDTH >= 125 && LCD_HEIGHT >= 110
|
||||||
flipit_cursor.25x25x16.bmp
|
flipit_cursor.25x25x16.bmp
|
||||||
flipit_tokens.25x50x16.bmp
|
flipit_tokens.25x50x16.bmp
|
||||||
|
#elif LCD_WIDTH >= 85 && LCD_HEIGHT >= 78
|
||||||
|
flipit_cursor.17x17x16.bmp
|
||||||
|
flipit_tokens.17x34x16.bmp
|
||||||
#endif
|
#endif
|
||||||
#elif LCD_DEPTH > 1 /* greyscale */
|
#elif LCD_DEPTH > 1 /* greyscale */
|
||||||
#if LCD_WIDTH >= 140 && LCD_HEIGHT >= 122
|
#if LCD_WIDTH >= 140 && LCD_HEIGHT >= 122
|
||||||
|
|
|
@ -107,7 +107,8 @@ PLUGIN_HEADER
|
||||||
#define FLIPIT_STEP_BY_STEP BUTTON_VOL_DOWN
|
#define FLIPIT_STEP_BY_STEP BUTTON_VOL_DOWN
|
||||||
#define FLIPIT_TOGGLE BUTTON_SELECT
|
#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_UP BUTTON_UP
|
||||||
#define FLIPIT_DOWN BUTTON_DOWN
|
#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, 28, "[PL-LEFT] shuffle");
|
||||||
rb->lcd_putsxy(2, 38, "[PL-RIGHT] solution");
|
rb->lcd_putsxy(2, 38, "[PL-RIGHT] solution");
|
||||||
rb->lcd_putsxy(2, 48, "[PL-UP] step by step");
|
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
|
#endif
|
||||||
rb->lcd_update();
|
rb->lcd_update();
|
||||||
#else /* HAVE_LCD_CHARCELLS */
|
#else /* HAVE_LCD_CHARCELLS */
|
||||||
|
|
|
@ -8,14 +8,15 @@ a screen containing tokens of only one colour.
|
||||||
\begin{table}
|
\begin{table}
|
||||||
\begin{btnmap}{}{}
|
\begin{btnmap}{}{}
|
||||||
\opt{PLAYER_PAD}{\ButtonOn/\ButtonMenu/\ButtonLeft/\ButtonRight}
|
\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}
|
{\ButtonUp/\ButtonDown/\ButtonLeft/\ButtonRight}
|
||||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay/\ButtonLeft/\ButtonRight}
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay/\ButtonLeft/\ButtonRight}
|
||||||
\opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown/\ButtonLeft/\ButtonRight}
|
\opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown/\ButtonLeft/\ButtonRight}
|
||||||
& Move the cursor \\
|
& Move the cursor \\
|
||||||
\opt{PLAYER_PAD,RECORDER_PAD}{\ButtonPlay}
|
\opt{PLAYER_PAD,RECORDER_PAD}{\ButtonPlay}
|
||||||
\opt{ONDIO_PAD}{\ButtonMenu}
|
\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}
|
\opt{IRIVER_H10_PAD}{\ButtonRew}
|
||||||
& Flip \\
|
& Flip \\
|
||||||
\opt{PLAYER_PAD}{\ButtonOn+\ButtonLeft}
|
\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{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
|
||||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
|
||||||
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay+\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}
|
\opt{GIGABEAT_PAD}{\ButtonMenu}
|
||||||
& Shuffle \\
|
& Shuffle \\
|
||||||
\opt{PLAYER_PAD}{\ButtonOn+\ButtonRight}
|
\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{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
|
||||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
|
||||||
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay+\ButtonRight}
|
\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}
|
\opt{GIGABEAT_PAD}{\ButtonVolUp}
|
||||||
& Solve \\
|
& Solve \\
|
||||||
\opt{PLAYER_PAD}{\ButtonOn+\ButtonPlay}
|
\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{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
|
||||||
\opt{IAUDIO_X5_PAD}{\ButtonPlay+\ButtonUp}
|
\opt{IAUDIO_X5_PAD}{\ButtonPlay+\ButtonUp}
|
||||||
\opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollUp}
|
\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}
|
\opt{GIGABEAT_PAD}{\ButtonVolDown}
|
||||||
& Solve step by step \\
|
& Solve step by step \\
|
||||||
\opt{PLAYER_PAD}{\ButtonStop}
|
\opt{PLAYER_PAD}{\ButtonStop}
|
||||||
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
|
||||||
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
|
\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 \\
|
& Quit the game \\
|
||||||
\end{btnmap}
|
\end{btnmap}
|
||||||
\end{table}
|
\end{table}
|
||||||
|
|
BIN
manual/plugins/images/ss-flipit-132x80x16.png
Normal file
BIN
manual/plugins/images/ss-flipit-132x80x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue