% $Id$ %
%platform file for the Ondio SP
\def\UseOption{ondiosp}
\edef\UseOption{\UseOption,ondio}
\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
\edef\UseOption{\UseOption,HAVE_LCD_INVERT}
\edef\UseOption{\UseOption,HAVE_LCD_FLIP}
\edef\UseOption{\UseOption,MASCODEC}
\edef\UseOption{\UseOption,ONDIO_PAD}
\edef\UseOption{\UseOption,BATTERY_TYPES}
\edef\UseOption{\UseOption,archos}

\newcommand{\playerman}{Archos}
\newcommand{\playertype}{Ondio}
\newcommand{\playerlongtype}{Ondio 128 SP}
\newcommand{\genericimg}{112x64x1}
\newcommand{\specimg}{ondiosp}
%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{ajbrec.ajz}}
\newcommand{\screenshotsize}{4cm}
\newcommand{\disk}{flash storage}

\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonOff}{\btnfnt{On/Off}}
\newcommand{\ButtonUp}{\btnfnt{Up}}
\newcommand{\ButtonDown}{\btnfnt{Down}}
\newcommand{\ButtonMenu}{\btnfnt{Mode}}

%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 \ButtonRight}
\newcommand{\ActionStdMenu}{Long \ButtonMenu}
\newcommand{\ActionStdOk}{\ButtonRight}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonOff}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
\newcommand{\ActionWpsStop}{Long \ButtonOff}
\newcommand{\ActionWpsVolDown}{\ButtonDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp}
\newcommand{\ActionWpsContext}{Long \ButtonMenu}
\newcommand{\ActionWpsBrowse}{\ButtonMenu}

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

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

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonMenu}
\newcommand{\ActionKbdDone}{Long \ButtonMenu}
\newcommand{\ActionKbdAbort}{\ButtonOff}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}

%Button actions, Setting context
\newcommand{\ActionSettingInc}{\ButtonUp}
\newcommand{\ActionSettingDec}{\ButtonDown}

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