% $Id$ %
\def\UseOption{h300}
\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
\edef\UseOption{\UseOption,HAVE_RECORDING}
\edef\UseOption{\UseOption,CONFIG_TUNER}
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IRIVER_H300_PAD}
\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\edef\UseOption{\UseOption,HAVE_REMOTE_LCD}
\edef\UseOption{\UseOption,iriver}

\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H3xx}
\newcommand{\playerlongtype}{H320 and H340}
\newcommand{\genericimg}{220x176x16}
\newcommand{\specimg}{h300}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}
%For use when referring to the player. E.g. the \daps\ capacity ...
\newcommand{\daps}{player's}
\newcommand{\firmwarefilename}{\fname{rockbox.iriver}}
\newcommand{\screenshotsize}{6cm}

\newcommand{\ButtonLeft}{Left}
\newcommand{\ButtonRight}{Right}
\newcommand{\ButtonUp}{Up}
\newcommand{\ButtonDown}{Down}
\newcommand{\ButtonSelect}{Navi}
\newcommand{\ButtonMode}{A-B}
\newcommand{\ButtonRec}{Rec}
\newcommand{\ButtonOn}{Play}
\newcommand{\ButtonOff}{Stop}

%Button actions, standard context
\newcommand{\ActionStdPrev}{\ButtonUp}
\newcommand{\ActionStdPrevRepeat}{Long \ButtonUp}
\newcommand{\ActionStdNext}{\ButtonDown}
\newcommand{\ActionStdNextRepeat}{Long \ButtonDown}
\newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonOff}
\newcommand{\ActionStdContext}{Long \ButtonSelect}
\newcommand{\ActionStdQuickScreen}{Long \ButtonMode}
\newcommand{\ActionStdMenu}{\ButtonMode}
\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonOn}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonOn{} + \ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonOn{} + \ButtonLeft}
\newcommand{\ActionWpsStop}{\ButtonOff}
\newcommand{\ActionWpsVolDown}{\ButtonDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp}
\newcommand{\ActionWpsPitchScreen}{\ButtonOn{} + \ButtonUp/\ButtonDown}
\newcommand{\ActionWpsQuickScreen}{Long \ButtonMode}
\newcommand{\ActionWpsMenu}{\ButtonMode}
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
\newcommand{\ActionWpsAbReset}{\ButtonOn{} + \ButtonSelect}
\newcommand{\ActionWpsIdThreeScreen}{\ButtonOn{} + \ButtonMode}