a507bb2837
The main "innovation" in this patch are two "virtual buttons" for the record switch on YH92x targets. When the switch state changes, a single BUTTON_REC_SW_ON or .._OFF button event will be generated. Thus keymap code can react on switching, but not on the actual state of the switch. Wherever sensible, the following user scheme is applied: - use PLAY as confirm button - use REW button or Long REW to exit - use REC (YH820) or FFWD (YH92X) as modifier key for button combos Change-Id: Ic8d1db9cc6869daed8dda98990dfdf7f6fd5d5a1
128 lines
5.8 KiB
TeX
128 lines
5.8 KiB
TeX
% $Id$ %
|
|
\subsection{Rockblox}
|
|
\screenshot{plugins/images/ss-rockblox}{Rockblox}{fig:rockblox}
|
|
Rockblox is a Rockbox version of the classic falling blocks game from Russia.
|
|
The aim of the game is to make the falling blocks of different shapes
|
|
form full rows. Whenever a row is completed, it will be cleared away, and you
|
|
gain points. For every ten lines completed, the game level increases, making
|
|
the blocks fall faster. If the pile of blocks reaches the ceiling, the game is over.
|
|
|
|
\begin{btnmap}
|
|
\nopt{SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD}{
|
|
\opt{RECORDER_PAD}{\ButtonFOne}
|
|
\opt{PLAYER_PAD}{\ButtonStop+\ButtonMenu}
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
|
|
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_S_PAD}{\ButtonPlay}
|
|
\opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec}
|
|
\opt{SANSA_CLIP_PAD}{\ButtonHome}
|
|
\opt{SANSA_FUZE_PAD}{\ButtonSelect+\ButtonUp}
|
|
\opt{GIGABEAT_PAD}{\ButtonA}
|
|
\opt{MROBE100_PAD}{\ButtonDisplay}
|
|
\opt{ONDIO_PAD}{\ButtonMenu+\ButtonOff}
|
|
\opt{COWON_D2_PAD}{\ButtonMenu}
|
|
\opt{PBELL_VIBE500_PAD}{\ButtonCancel}
|
|
\opt{MPIO_HD300_PAD}{\ButtonRec}
|
|
\opt{SAMSUNG_YH820_PAD}{\ButtonRec}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Restart game\\
|
|
}
|
|
\opt{PLAYER_PAD,RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
|
|
,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD%
|
|
,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,IPOD_4G_PAD,IPOD_3G_PAD%
|
|
,IRIVER_H10_PAD,PBELL_VIBE500_PAD,SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD%
|
|
,SAMSUNG_YH820_PAD}
|
|
{\ButtonLeft}
|
|
\opt{COWON_D2_PAD}{\TouchMidLeft}
|
|
\opt{MPIO_HD300_PAD}{\ButtonRew}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Move left\\
|
|
\opt{PLAYER_PAD,RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
|
|
,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD%
|
|
,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,IPOD_4G_PAD,IPOD_3G_PAD%
|
|
,IRIVER_H10_PAD,PBELL_VIBE500_PAD,SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD%
|
|
,SAMSUNG_YH820_PAD}
|
|
{\ButtonRight}
|
|
\opt{COWON_D2_PAD}{\TouchMidRight}
|
|
\opt{MPIO_HD300_PAD}{\ButtonFF}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Move right\\
|
|
\opt{PLAYER_PAD}{\ButtonMenu}
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
|
|
,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_PAD%
|
|
,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}
|
|
{\ButtonDown}
|
|
\opt{SANSA_FUZEPLUS_PAD}{\ButtonSelect}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
|
|
\opt{IRIVER_H10_PAD}{\ButtonScrollDown}
|
|
\opt{COWON_D2_PAD}{\TouchBottomMiddle}
|
|
\opt{MPIO_HD300_PAD}{\ButtonEnter}
|
|
\opt{SAMSUNG_YH92X_PAD}{\ButtonRew}
|
|
\opt{SAMSUNG_YH820_PAD}{\ButtonFF}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Move down\\
|
|
\opt{PLAYER_PAD}{\ButtonOn+\ButtonPlay}
|
|
\opt{RECORDER_PAD}{\ButtonPlay}
|
|
\opt{ONDIO_PAD}{\ButtonMenu+\ButtonUp}
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonSelect}
|
|
\opt{scrollwheel}{\ButtonScrollBack}
|
|
\opt{IAUDIO_X5_PAD}{\ButtonPower}
|
|
\opt{IRIVER_H10_PAD}{\ButtonRew}
|
|
\opt{SANSA_C200_PAD,SANSA_CLIP_PAD}{\ButtonVolDown}
|
|
\opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonVolUp}
|
|
\opt{SANSA_FUZEPLUS_PAD}{\ButtonVolDown{}; \ButtonBottomLeft}
|
|
\opt{MROBE100_PAD,PBELL_VIBE500_PAD}{\ButtonMenu}
|
|
\opt{COWON_D2_PAD}{\TouchBottomLeft}
|
|
\opt{MPIO_HD300_PAD}{\ButtonScrollUp}
|
|
\opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonUp}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Rotate anticlockwise\\
|
|
\opt{PLAYER_PAD}{\ButtonPlay}
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}
|
|
{\ButtonUp}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd{} / \ButtonMenu}
|
|
\opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollFwd}
|
|
\opt{IRIVER_H10_PAD}{\ButtonScrollUp}
|
|
\opt{SANSA_C200_PAD,SANSA_CLIP_PAD}{\ButtonVolUp/\ButtonUp}
|
|
\opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonVolDown}
|
|
\opt{MROBE100_PAD,PBELL_VIBE500_PAD}{\ButtonPlay}
|
|
\opt{COWON_D2_PAD}{\TouchBottomRight{} / \TouchTopMiddle }
|
|
\opt{MPIO_HD300_PAD}{\ButtonScrollDown}
|
|
\opt{SANSA_FUZEPLUS_PAD}{\ButtonVolUp{}; \ButtonBottomRight}
|
|
\opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonDown}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Rotate clockwise\\
|
|
\opt{PLAYER_PAD,RECORDER_PAD}{\ButtonOn}
|
|
\opt{ONDIO_PAD}{\ButtonMenu}
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD%
|
|
,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}{\ButtonSelect}
|
|
\opt{IAUDIO_X5_PAD}{\ButtonRec}
|
|
\opt{IRIVER_H10_PAD}{\ButtonFF}
|
|
\opt{COWON_D2_PAD}{\TouchCenter}
|
|
\opt{PBELL_VIBE500_PAD}{\ButtonOK}
|
|
\opt{MPIO_HD300_PAD,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonPlay}
|
|
\opt{SANSA_FUZEPLUS_PAD}{\ButtonDown}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Drop\\
|
|
\opt{hold_button}{
|
|
\ButtonHold{} switch
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Pause\\
|
|
}
|
|
\opt{PLAYER_PAD}{\ButtonStop}
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu+\ButtonSelect}
|
|
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower}
|
|
\opt{SANSA_FUZE_PAD}{Long \ButtonHome}
|
|
\opt{GIGABEAT_S_PAD}{\ButtonBack}
|
|
\opt{COWON_D2_PAD,SANSA_FUZEPLUS_PAD}{\ButtonPower}
|
|
\opt{PBELL_VIBE500_PAD}{\ButtonRec}
|
|
\opt{SAMSUNG_YH92X_PAD}{\ButtonFF}
|
|
\opt{SAMSUNG_YH820_PAD}{\ButtonRew}
|
|
\opt{MPIO_HD300_PAD}{Long \ButtonMenu}
|
|
\opt{HAVEREMOTEKEYMAP}{&
|
|
\opt{IRIVER_RC_H100_PAD}{\ButtonRCStop}
|
|
}
|
|
& Quit\\
|
|
\end{btnmap}
|