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
65 lines
3 KiB
TeX
65 lines
3 KiB
TeX
\subsection{Stopwatch}
|
|
\screenshot{plugins/images/ss-stopwatch}{Stopwatch}{fig:stopwatch}
|
|
|
|
A simple stopwatch program with support for saving times.
|
|
|
|
\begin{btnmap}
|
|
\opt{PLAYER_PAD}{\ButtonMenu}
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
|
|
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD%
|
|
,MROBE100_PAD,SANSA_CLIP_PAD}{\ButtonPower}
|
|
\opt{SANSA_FUZE_PAD}{Long \ButtonHome}
|
|
\opt{GIGABEAT_S_PAD}{\ButtonBack}
|
|
\opt{PBELL_VIBE500_PAD}{\ButtonRec}
|
|
\opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonRew}
|
|
\opt{MPIO_HD200_PAD}{\ButtonRec + \ButtonPlay}
|
|
\opt{MPIO_HD300_PAD}{Long \ButtonMenu}
|
|
\opt{HAVEREMOTEKEYMAP}{&
|
|
\opt{IRIVER_RC_H100_PAD}{\ButtonRCStop}
|
|
}
|
|
& Quit Plugin \\
|
|
%
|
|
\opt{PLAYER_PAD,RECORDER_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_S_PAD%
|
|
,PBELL_VIBE500_PAD,MPIO_HD200_PAD,MPIO_HD300_PAD,SAMSUNG_YH92X_PAD%
|
|
,SAMSUNG_YH820_PAD}{\ButtonPlay}
|
|
\opt{ONDIO_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD%
|
|
,SANSA_CLIP_PAD}{\ButtonRight}
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,MROBE100_PAD,IPOD_4G_PAD%
|
|
,IPOD_3G_PAD}{\ButtonSelect}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Start / stop \\
|
|
%
|
|
\opt{PLAYER_PAD}{\ButtonStop}
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD%
|
|
,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SAMSUNG_YH92X_PAD%
|
|
,SAMSUNG_YH820_PAD}{\ButtonLeft}
|
|
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonDown}
|
|
\opt{IRIVER_H10_PAD,MPIO_HD200_PAD,MPIO_HD300_PAD}{\ButtonRew}
|
|
\opt{IAUDIO_X5_PAD}{\ButtonRec}
|
|
\opt{GIGABEAT_PAD}{\ButtonA}
|
|
\opt{GIGABEAT_S_PAD}{\ButtonMenu}
|
|
\opt{MROBE100_PAD}{\ButtonDisplay}
|
|
\opt{PBELL_VIBE500_PAD}{\ButtonOK}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Reset timer (only when timer is stopped)\\
|
|
%
|
|
\opt{PLAYER_PAD,RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
|
|
\opt{ONDIO_PAD,GIGABEAT_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}{\ButtonMenu}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonRight}
|
|
\opt{IRIVER_H10_PAD,MPIO_HD200_PAD,MPIO_HD300_PAD}{\ButtonFF}
|
|
\opt{IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,GIGABEAT_S_PAD%
|
|
,SANSA_CLIP_PAD}{\ButtonSelect}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Take lap time \\
|
|
%
|
|
\opt{PLAYER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonLeft{} / \ButtonRight}
|
|
\opt{RECORDER_PAD,ONDIO_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD%
|
|
,SANSA_C200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD%
|
|
,SANSA_CLIP_PAD,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonUp{} / \ButtonDown}
|
|
\opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd{} / \ButtonScrollBack}
|
|
\opt{IRIVER_H10_PAD,MPIO_HD300_PAD}{\ButtonScrollUp{} / \ButtonScrollDown}
|
|
\opt{MPIO_HD200_PAD}{\ButtonVolUp / \ButtonVolDown}
|
|
\opt{HAVEREMOTEKEYMAP}{& }
|
|
& Scroll through lap times \\
|
|
\end{btnmap}
|