% $Id$ %
\def\UseOption{h10}
\edef\UseOption{\UseOption,HAVE_RB_BL_ON_DISK}
\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
\edef\UseOption{\UseOption,HAVE_LCD_INVERT}
\edef\UseOption{\UseOption,HAVE_LCD_FLIP}
\edef\UseOption{\UseOption,HAVE_LCD_SLEEP}
\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\edef\UseOption{\UseOption,CONFIG_TUNER}
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,HAVE_RTC_ALARM}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,IRIVER_H10_PAD}
\edef\UseOption{\UseOption,HAVE_BACKLIGHT}
\edef\UseOption{\UseOption,HAVE_DIRCACHE}
\edef\UseOption{\UseOption,HAVE_DISK_STORAGE}
\edef\UseOption{\UseOption,HAVE_CAR_ADAPTER_MODE}
\edef\UseOption{\UseOption,iriver}

\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H10}
\newcommand{\playerlongtype}{\playertype{} 20GB}
\newcommand{\genericimg}{160x128x16}
\newcommand{\specimg}{h10}
%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.mi4}}
\newcommand{\screenshotsize}{4cm}
\newcommand{\disk}{hard disk}

\newcommand{\ButtonLeft}{\btnfnt{Cancel}}
\newcommand{\ButtonRight}{\btnfnt{Select}}
\newcommand{\ButtonRew}{\btnfnt{Prev}}
\newcommand{\ButtonPlay}{\btnfnt{Play}}
\newcommand{\ButtonFF}{\btnfnt{Next}}
\newcommand{\ButtonScrollUp}{\btnfnt{Scroll Up}}
\newcommand{\ButtonScrollDown}{\btnfnt{Scroll Down}}
\newcommand{\ButtonPower}{\btnfnt{Power}}
\newcommand{\ButtonHold}{\btnfnt{Hold}}

%Button actions, standard context
\newcommand{\ActionStdPrev}{\ButtonScrollUp}
\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollUp}
\newcommand{\ActionStdNext}{\ButtonScrollDown}
\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollDown}
\newcommand{\ActionStdCancel}{\ButtonLeft}
\newcommand{\ActionStdContext}{Long \ButtonRight}
\newcommand{\ActionStdQuickScreen}{Long \ButtonLeft}
\newcommand{\ActionStdMenu}{\ButtonPower}
\newcommand{\ActionStdOk}{\ButtonRight}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonPlay}
\newcommand{\ActionWpsSkipNext}{\ButtonFF}
\newcommand{\ActionWpsSkipPrev}{\ButtonRew}
\newcommand{\ActionWpsSeekBack}{Long \ButtonRew}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonFF}

\newcommand{\ActionWpsStop}{Long \ButtonPlay}
\newcommand{\ActionWpsVolDown}{\ButtonScrollDown}
\newcommand{\ActionWpsVolUp}{\ButtonScrollUp}

\newcommand{\ActionWpsQuickScreen}{Long \ButtonLeft}
\newcommand{\ActionWpsMenu}{\ButtonPower}
\newcommand{\ActionWpsContext}{Long \ButtonRight}
\newcommand{\ActionWpsBrowse}{\ButtonLeft}
\newcommand{\ActionWpsPitchScreen}{\ButtonPlay+\ButtonLeft}
\newcommand{\ActionWpsIdThreeScreen}{\ButtonPlay+\ButtonRight}

\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonFF}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonRew}
\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonPlay}

%Button actions, tree context
\newcommand{\ActionTreeWps}{\ButtonPlay}
\newcommand{\ActionTreeStop}{Long \ButtonPlay}
\newcommand{\ActionTreeEnter}{\ButtonRight}
\newcommand{\ActionTreeParentDirectory}{\ButtonLeft}

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

%Button actions, Setting context
\newcommand{\ActionSettingInc}{\ButtonScrollUp}
\newcommand{\ActionSettingDec}{\ButtonScrollDown}

%Button actions, Alarm screen
\newcommand{\ActionAlarmSet}{\ActionStdOk}
\newcommand{\ActionAlarmCancel}{\ActionStdCancel}
\newcommand{\ActionAlarmHoursInc}{\ButtonRew}
\newcommand{\ActionAlarmHoursDec}{\ButtonFF}

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonRew}
\newcommand{\ActionKbdDone}{\ButtonPlay}
\newcommand{\ActionKbdAbort}{\ButtonFF}
\newcommand{\ActionKbdUp}{\ButtonScrollUp}
\newcommand{\ActionKbdDown}{\ButtonScrollDown}
\newcommand{\ActionKbdMorseInput}{\ButtonPlay+\ButtonRew}
\newcommand{\ActionKbdMorseSelect}{\ButtonRew}

%Button actions, Pitch Screen context
\newcommand{\ActionPsToggleMode}{\ButtonPower}
\newcommand{\ActionPsIncSmall}{\ButtonScrollUp}
\newcommand{\ActionPsIncBig}{Long \ButtonScrollUp}
\newcommand{\ActionPsDecSmall}{\ButtonScrollDown}
\newcommand{\ActionPsDecBig}{Long \ButtonScrollDown}
\newcommand{\ActionPsNudgeLeft}{\ButtonRew}
\newcommand{\ActionPsNudgeRight}{\ButtonFF}
\newcommand{\ActionPsReset}{\ButtonPlay}
\newcommand{\ActionPsExit}{\ButtonLeft}
