% $Id$

\newcommand{\ButtonLeft}{\btnfnt{Prev}}
\newcommand{\ButtonRight}{\btnfnt{Next}}
\newcommand{\ButtonMenu}{\btnfnt{Menu}}
\newcommand{\ButtonPlay}{\btnfnt{Play}}
\newcommand{\ButtonSelect}{\btnfnt{Select}}
\newcommand{\ButtonScrollFwd}{\btnfnt{Scroll Forward}}
\newcommand{\ButtonScrollBack}{\btnfnt{Scroll Backward}}
\newcommand{\ButtonHold}{\btnfnt{Hold}}

%Button actions, standard context
\newcommand{\ActionStdPrev}{\ButtonScrollBack}
\newcommand{\ActionStdPrevRepeat}{Long \ButtonScrollBack}
\newcommand{\ActionStdNext}{\ButtonScrollFwd}
\newcommand{\ActionStdNextRepeat}{Long \ButtonScrollFwd}
\newcommand{\ActionStdCancel}{\ButtonLeft{} or Long \ButtonPlay}
\newcommand{\ActionStdContext}{Long \ButtonSelect}
\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
\newcommand{\ActionQuickScreenExit}{\ButtonSelect}
\newcommand{\ActionStdMenu}{\ButtonMenu}
\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
\newcommand{\ActionStdUsbCharge}{\ButtonMenu}

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

\newcommand{\ActionWpsStop}{Long \ButtonPlay}
\newcommand{\ActionWpsVolDown}{\ButtonScrollBack}
\newcommand{\ActionWpsVolUp}{\ButtonScrollFwd}

\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
\newcommand{\ActionWpsMenu}{\ButtonMenu}
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
\newcommand{\ActionWpsHotkey}{\ButtonSelect + \ButtonPlay}

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

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

%Button actions, Setting context
\newcommand{\ActionSettingInc}{\ButtonScrollFwd}
\newcommand{\ActionSettingDec}{\ButtonScrollBack}

%Button actions, Alarm screen
\newcommand{\ActionAlarmSet}{\ButtonSelect}
\newcommand{\ActionAlarmCancel}{\ButtonMenu}
\newcommand{\ActionAlarmHoursInc}{\ButtonRight}
\newcommand{\ActionAlarmHoursDec}{\ButtonLeft}

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonSelect}
\newcommand{\ActionKbdDone}{\ButtonPlay}
\newcommand{\ActionKbdAbort}{\ButtonMenu}
\newcommand{\ActionKbdUp}{\ButtonScrollBack}
\newcommand{\ActionKbdDown}{\ButtonScrollFwd}
\newcommand{\ActionKbdMorseInput}{Long \ButtonMenu}
\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}

%Button actions, Pitch Screen context
\newcommand{\ActionPsToggleMode}{\ButtonPlay}
\newcommand{\ActionPsIncSmall}{\ButtonScrollFwd}
\newcommand{\ActionPsIncBig}{Long \ButtonScrollFwd}
\newcommand{\ActionPsDecSmall}{\ButtonScrollBack}
\newcommand{\ActionPsDecBig}{Long \ButtonScrollBack}
\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
\newcommand{\ActionPsNudgeRight}{\ButtonRight}
\newcommand{\ActionPsReset}{\ButtonMenu}
\newcommand{\ActionPsExit}{\ButtonSelect}

%Button actions, Recording screen context
\newcommand{\ActionRecPause}{\ButtonPlay}
\newcommand{\ActionRecExit}{\ButtonMenu{} or Long \ButtonPlay}
\newcommand{\ActionRecMenu}{Long \ButtonSelect}
\newcommand{\ActionRecNewfile}{\ButtonSelect}
\newcommand{\ActionRecSettingsInc}{\ButtonRight}
\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecPrev}{\ButtonScrollBack}
\newcommand{\ActionRecNext}{\ButtonScrollFwd}

%Button actions, Bookmark screen context
\newcommand{\ActionBmDelete}{Long \ButtonMenu}

%Button actions, FM radio context
\newcommand{\ActionFMPreset}{\fixme{tbd}}
\newcommand{\ActionFMMenu}{Long \ButtonSelect}
\newcommand{\ActionFMMode}{\ButtonSelect}
\newcommand{\ActionFMStop}{Long \ButtonPlay}
\newcommand{\ActionFMExit}{\ButtonMenu}
\newcommand{\ActionFMPlay}{\ButtonPlay}
\newcommand{\ActionFMSettingsInc}{\ButtonScrollFwd}
\newcommand{\ActionFMSettingsDec}{\ButtonScrollBack}
\newcommand{\ActionFMPrev}{\ButtonLeft}
\newcommand{\ActionFMNext}{\ButtonRight}

%Plugin lib actions
\newcommand{\PluginUp}{\ButtonMenu}
\newcommand{\PluginDown}{\ButtonPlay}
\newcommand{\PluginLeft}{\ButtonLeft}
\newcommand{\PluginRight}{\ButtonRight}
\newcommand{\PluginUpRepeat}{Long \ButtonMenu}
\newcommand{\PluginDownRepeat}{Long \ButtonPlay}
\newcommand{\PluginLeftRepeat}{Long \ButtonLeft}
\newcommand{\PluginRightRepeat}{Long \ButtonRight}
\newcommand{\PluginCancel}{\ButtonMenu + \ButtonSelect}
\newcommand{\PluginExit}{\ButtonPlay + \ButtonSelect}
\newcommand{\PluginSelect}{\ButtonSelect}
\newcommand{\PluginSelectRepeat}{Long \ButtonSelect}

\newcommand{\PluginScrollFwd}{\ButtonScrollFwd}
\newcommand{\PluginScrollFwdRepeat}{Long \ButtonScrollFwd}
\newcommand{\PluginScrollBack}{\ButtonScrollBack}
\newcommand{\PluginScrollBackRepeat}{Long \ButtonScrollBack}
