% $Id$ %
\def\UseOption{e200}
\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_RECORDING}
\edef\UseOption{\UseOption,CONFIG_TUNER}
\edef\UseOption{\UseOption,CONFIG_RTC}
\edef\UseOption{\UseOption,SWCODEC}
\edef\UseOption{\UseOption,SANSA_E200_PAD}
\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
\edef\UseOption{\UseOption,HAVE_BACKLIGHT}
\edef\UseOption{\UseOption,HAVE_BACKLIGHT_BRIGHTNESS}
\edef\UseOption{\UseOption,sansa}

\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{e200}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{176x220x16}
\newcommand{\specimg}{e200}
%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}{flash storage}

\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonRec}{\btnfnt{Rec}}
\newcommand{\ButtonUp}{\btnfnt{Play}}
\newcommand{\ButtonDown}{\btnfnt{Submenu}}
\newcommand{\ButtonSelect}{\btnfnt{Select}}
\newcommand{\ButtonPower}{\btnfnt{Power}}
\newcommand{\ButtonScrollUp}{\btnfnt{Scroll Up}}
\newcommand{\ButtonScrollDown}{\btnfnt{Scroll Down}}
\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 \ButtonSelect}
\newcommand{\ActionStdQuickScreen}{Long \ButtonDown}
\newcommand{\ActionStdMenu}{\ButtonDown}
\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
\newcommand{\ActionStdRec}{Long \ButtonRec}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonUp}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}

\newcommand{\ActionWpsStop}{\ButtonPower}
\newcommand{\ActionWpsVolDown}{\ButtonScrollDown}
\newcommand{\ActionWpsVolUp}{\ButtonScrollUp}

\newcommand{\ActionWpsQuickScreen}{Long \ButtonDown}
\newcommand{\ActionWpsMenu}{\ButtonDown}
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}

\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonUp}

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

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

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

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonSelect}
\newcommand{\ActionKbdDone}{\ButtonUp}
\newcommand{\ActionKbdAbort}{\ButtonPower}
\newcommand{\ActionKbdUp}{\ButtonScrollUp}
\newcommand{\ActionKbdDown}{\ButtonScrollDown}
\newcommand{\ActionKbdCursorLeft}{\ButtonRec{} + \ButtonLeft}
\newcommand{\ActionKbdCursorRight}{\ButtonRec{} + \ButtonRight}
\newcommand{\ActionKbdBackSpace}{\ButtonDown}
\newcommand{\ActionKbdPageFlip}{\ButtonRec{} + \ButtonSelect}

%Button actions, Pitch Screen context
\newcommand{\ActionPsToggleMode}{\ButtonRec}
\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}{\ButtonPower}

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