% $Id$ %
\def\UseOption{h1xx}
\edef\UseOption{\UseOption,HAVE_RB_BL_IN_FLASH}
\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
\edef\UseOption{\UseOption,HAVE_RECORDING}
\edef\UseOption{\UseOption,CONFIG_TUNER}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IRIVER_H100_PAD}
\edef\UseOption{\UseOption,HAVE_REMOTE_LCD}
\edef\UseOption{\UseOption,iriver}

\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H1xx}
\newcommand{\playerlongtype}{iHP100, iHP115, iHP120, iHP140, H120 and H140}
\newcommand{\genericimg}{160x128x2}
\newcommand{\specimg}{h1xx}
%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}{4cm}

\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonUp}{\btnfnt{Up}}
\newcommand{\ButtonDown}{\btnfnt{Down}}
\newcommand{\ButtonSelect}{\btnfnt{Navi}}
\newcommand{\ButtonMode}{\btnfnt{A-B}}
\newcommand{\ButtonRec}{\btnfnt{Rec}}
\newcommand{\ButtonOn}{\btnfnt{Play}}
\newcommand{\ButtonOff}{\btnfnt{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}

%Button actions, tree context
\newcommand{\ActionTreeWps}{\ButtonOn}
\newcommand{\ActionTreeStop}{\ButtonOff}
\newcommand{\ActionTreeEnter}{\ButtonSelect{} or \ButtonRight}
\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}

%Button actions, YesNo context
\newcommand{\ActionYesNoAccept}{\ButtonSelect}

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonSelect}
\newcommand{\ActionKbdCursorLeft}{\ButtonOn{} + \ButtonLeft}
\newcommand{\ActionKbdCursorRight}{\ButtonOn{} + \ButtonRight}
\newcommand{\ActionKbdPageFlip}{\ButtonMode}
\newcommand{\ActionKbdDone}{\ButtonOn}
\newcommand{\ActionKbdAbort}{\ButtonOff}
\newcommand{\ActionKbdBackSpace}{\ButtonRec}
\newcommand{\ActionKbdMorseInput}{\ButtonOn{} + \ButtonMode}
\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}

%Button actions, Pitch Screen context
\newcommand{\ActionPsToggleMode}{\ButtonMode}
\newcommand{\ActionPsIncSmall}{\ButtonUp}
\newcommand{\ActionPsIncBig}{Long \ButtonUp}
\newcommand{\ActionPsDecSmall}{\ButtonDown}
\newcommand{\ActionPsDecBig}{Long \ButtonDown}
\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
\newcommand{\ActionPsNudgeRight}{\ButtonRight}
\newcommand{\ActionPsReset}{\ButtonSelect}
\newcommand{\ActionPsExit}{\ButtonOn{} or \ButtonOff}

%Button actions, Recording screen context
\newcommand{\ActionRecPause}{\ButtonOn}
\newcommand{\ActionRecNewfile}{\ButtonRec}
\newcommand{\ActionSettingsInc}{\ButtonRight}
\newcommand{\ActionSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecMenu}{\ButtonMode}
\newcommand{\ActionRecExit}{\ButtonOff}
