A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 144 lines 6.8 kB view raw
1% $Id$ % 2\subsection{Chess Clock} 3\screenshot{plugins/images/ss-chess_clock}{Chess Clock}{img:chessclock} 4The chess clock plugin is designed to simulate a chess clock, but it can be 5used in any kind of game with up to ten players. 6 7\subsubsection{Setup} 8 \begin{btnmap} 9 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD% 10 ,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SANSA_FUZE_PAD,SANSA_FUZEPLUS_PAD} 11 {\ButtonRight{} / \ButtonLeft} 12 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD% 13 ,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD,RG_NANO_PAD} 14 {\ButtonUp{} / \ButtonDown} 15 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollBack{} / \ButtonScrollFwd} 16 \opt{MPIO_HD200_PAD}{\ButtonVolUp / \ButtonVolDown} 17 \opt{MPIO_HD300_PAD}{\ButtonScrollUp / \ButtonScrollDown} 18 \opt{HAVEREMOTEKEYMAP}{& } 19 & Increase / decrease displayed Value\\ 20 % 21 \opt{IRIVER_H10_PAD}{\ButtonPlay} 22 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn} 23 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD% 24 ,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_FUZE_PAD,SANSA_FUZEPLUS_PAD}{\ButtonSelect} 25 \opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonRight{} or \ButtonPlay} 26 \opt{PBELL_VIBE500_PAD}{\ButtonOK} 27 \opt{MPIO_HD200_PAD}{\ButtonFunc} 28 \opt{MPIO_HD300_PAD}{\ButtonEnter} 29 \opt{HAVEREMOTEKEYMAP}{& } 30 \opt{RG_NANO_PAD}{\ButtonA} 31 & Move to next screen\\ 32 % 33 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu} 34 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff} 35 \opt{IAUDIO_X5_PAD,MPIO_HD200_PAD,MPIO_HD300_PAD}{\ButtonRec} 36 \opt{IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower} 37 \opt{SANSA_FUZE_PAD}{Long \ButtonHome} 38 \opt{GIGABEAT_S_PAD,SANSA_FUZEPLUS_PAD}{\ButtonBack} 39 \opt{PBELL_VIBE500_PAD}{\ButtonCancel} 40 \opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonLeft{} or \ButtonRew} 41 \opt{HAVEREMOTEKEYMAP}{& } 42 \opt{RG_NANO_PAD}{\ButtonB} 43 & Move to previous screen\\ 44 \end{btnmap} 45 46\begin{itemize} 47 \item First enter the number of players (1--10) 48 \item Then set the total game time in mm:ss 49 \item Then the maximum round time is entered. For example, this could 50 be used to play Scrabble for a maximum of 15 minutes each, with each 51 round taking no longer than one minute. 52 \item Done. Player 1 starts in paused mode. 53\end{itemize} 54 55\subsubsection{While playing} 56The number of the current player is displayed on the top line. The time 57below is the time remaining for that round (and possibly also the total 58time left if different). 59 60Keys are as follows: 61 62 \begin{btnmap} 63 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect} 64 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay} 65 \opt{IAUDIO_X5_PAD,PBELL_VIBE500_PAD}{\ButtonRec} 66 \opt{IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower} 67 \opt{SANSA_FUZE_PAD,SANSA_FUZEPLUS_PAD}{\ButtonPower} 68 \opt{GIGABEAT_S_PAD}{\ButtonBack} 69 \opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonRew} 70 \opt{MPIO_HD200_PAD}{\ButtonRec + \ButtonPlay} 71 \opt{MPIO_HD300_PAD}{Long \ButtonMenu} 72 \opt{HAVEREMOTEKEYMAP}{& } 73 \opt{RG_NANO_PAD}{\ButtonStart} 74 & Exit plugin \\ 75 % 76 \opt{IPOD_4G_PAD,IPOD_3G_PAD,PBELL_VIBE500_PAD}{\ButtonLeft} 77 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff} 78 \opt{IAUDIO_X5_PAD}{\ButtonPower} 79 \opt{IRIVER_H10_PAD,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonFF} 80 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SANSA_FUZE_PAD}{\ButtonDown} 81 \opt{GIGABEAT_PAD}{\ButtonA} 82 \opt{GIGABEAT_S_PAD}{\ButtonPrev} 83 \opt{MROBE100_PAD}{\ButtonDisplay} 84 \opt{SANSA_FUZEPLUS_PAD}{\ButtonBack} 85 \opt{HAVEREMOTEKEYMAP}{& } 86 \opt{RG_NANO_PAD}{\ButtonX} 87 & Restart round for the current player \\ 88 % 89 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_S_PAD}{\ButtonPlay} 90 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn} 91 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_PAD% 92 ,MROBE100_PAD,SANSA_FUZE_PAD} 93 {\ButtonSelect} 94 \opt{PBELL_VIBE500_PAD,MPIO_HD200_PAD,MPIO_HD300_PAD,SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD% 95 ,SAMSUNG_YH820_PAD}{\ButtonPlay} 96 \opt{HAVEREMOTEKEYMAP}{& } 97 \opt{RG_NANO_PAD}{\ButtonA} 98 & Pause the time (press again to continue) \\ 99 % 100 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD% 101 ,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SANSA_FUZE_PAD}{\ButtonRight} 102 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD% 103 ,SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD,RG_NANO_PAD} 104 {\ButtonUp} 105 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollBack} 106 \opt{HAVEREMOTEKEYMAP}{& } 107 & Switch to next player \\ 108 % 109 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD% 110 ,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SANSA_FUZE_PAD}{\ButtonLeft} 111 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD% 112 ,SANSA_FUZEPLUS_PAD,SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD,RG_NANO_PAD} 113 {\ButtonDown} 114 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd} 115 \opt{MPIO_HD200_PAD}{\ButtonVolDown} 116 \opt{MPIO_HD300_PAD}{\ButtonScrollDown} 117 \opt{HAVEREMOTEKEYMAP}{& } 118 & Switch to previous player \\ 119 % 120 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD% 121 ,MROBE100_PAD,PBELL_VIBE500_PAD,MPIO_HD300_PAD}{\ButtonMenu} 122 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec} 123 \opt{IAUDIO_X5_PAD}{\ButtonSelect} 124 \opt{SANSA_FUZEPLUS_PAD}{Long \ButtonSelect} 125 \opt{IRIVER_H10_PAD}{\ButtonRew} 126 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,SANSA_FUZE_PAD}{\ButtonUp} 127 \opt{MPIO_HD200_PAD}{Long \ButtonFunc} 128 \opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{\ButtonLeft} 129 \opt{HAVEREMOTEKEYMAP}{& } 130 \opt{RG_NANO_PAD}{\ButtonB} 131 & Open menu % 132 \opt{IRIVER_H10_PAD}{(\ButtonPlay\ to select.)}% 133 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{(\ButtonOn\ to select.)}% 134 \opt{SAMSUNG_YH92X_PAD,SAMSUNG_YH820_PAD}{(\ButtonRight\ to select.)}% 135 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_PAD% 136 ,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_FUZE_PAD,SANSA_FUZEPLUS_PAD} 137 {(\ButtonSelect\ to select.)}% 138 \opt{IAUDIO_X5_PAD}{(press again to select.)}\\ 139 \end{btnmap} 140From the menu it is possible to delete a player, modify the round time 141for the current player or set the total time for the game. When the round time 142is up for a player the message ``ROUND UP!'' is shown (press NEXT to 143continue). When the total time is up for a player the message ``TIME UP!''is 144shown. The player will then be removed from the timer.