% $Id$

\newcommand{\ButtonPlay}{\btnfnt{Play}}
\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonUp}{\btnfnt{Up}}
\newcommand{\ButtonDown}{\btnfnt{Down}}
\newcommand{\ButtonRew}{\btnfnt{Rewind}}
\newcommand{\ButtonFF}{\btnfnt{Forward}}
% this is still needed for the QuickStart/Player's Controls section
\newcommand{\ButtonRec}{\btnfnt{Rec}}
\newcommand{\ButtonRecOn}{\btnfnt{\btnfnt{Rec}$\rightarrow$on}}
\newcommand{\ButtonRecOff}{\btnfnt{\btnfnt{Rec}$\rightarrow$off}}
\newcommand{\ButtonHold}{\btnfnt{Hold}}

%Button actions, standard context
\newcommand{\ActionStdPrev}{\ButtonUp}
\newcommand{\ActionStdPrevRepeat}{Long \ButtonUp}
\newcommand{\ActionStdNext}{\ButtonDown}
\newcommand{\ActionStdNextRepeat}{Long \ButtonDown}
\newcommand{\ActionStdCancel}{\ButtonLeft{} or Long \ButtonLeft}
\newcommand{\ActionStdOk}{\ButtonRight}
\newcommand{\ActionStdMenu}{Long \ButtonLeft{}+Long \ButtonUp}
\newcommand{\ActionStdContext}{Long \ButtonRight}
\newcommand{\ActionStdQuickScreen}{Long \ButtonLeft{}+Long \ButtonDown}
\newcommand{\ActionQuickScreenExit}{\ButtonPlay{} or \ButtonRew}
\newcommand{\ActionStdRec}{\ButtonRecOn}
%a button without harmful side effects for USB charging
\newcommand{\ActionStdUsbCharge}{\ButtonRew}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonPlay}
\newcommand{\ActionWpsStop}{Long \ButtonPlay}
\newcommand{\ActionWpsSkipPrev}{\ButtonRew}
\newcommand{\ActionWpsSeekBack}{Long \ButtonRew}
\newcommand{\ActionWpsSkipNext}{\ButtonFF}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonFF}
\newcommand{\ActionWpsVolDown}{\ButtonDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp}
\newcommand{\ActionWpsBrowse}{\ButtonRight}
\newcommand{\ActionWpsContext}{Long \ButtonRight}
\newcommand{\ActionWpsHotkey}{Long \ButtonRight{}+Long \ButtonDown}
\newcommand{\ActionWpsPlaylist}{Long \ButtonLeft}
\newcommand{\ActionWpsMenu}{\ButtonLeft}
\newcommand{\ActionWpsQuickScreen}{Long \ButtonLeft{}+Long \ButtonDown}
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPlay{}+\ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPlay{}+\ButtonLeft}
\newcommand{\ActionWpsAbReset}{\ButtonPlay{}+\ButtonUp{} or \ButtonPlay{}+\ButtonDown}

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

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

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

%Button actions, Alarm screen
\newcommand{\ActionAlarmSet}{\ButtonPlay}
\newcommand{\ActionAlarmCancel}{\ButtonRew}
\newcommand{\ActionAlarmHoursDec}{\ButtonDown}
\newcommand{\ActionAlarmHoursInc}{\ButtonUp}

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonPlay}
\newcommand{\ActionKbdDone}{Long \ButtonFF}
\newcommand{\ActionKbdAbort}{Long \ButtonRew}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}
\newcommand{\ActionKbdBackSpace}{\ButtonRew}
\newcommand{\ActionKbdMorseInput}{\ButtonRecOn{} or \ButtonRecOff}
\newcommand{\ActionKbdMorseSelect}{\ButtonPlay}

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

%Button actions, Recording screen context
\newcommand{\ActionRecNewfile}{\ButtonFF}
\newcommand{\ActionRecMenu}{Long \ButtonRew}
\newcommand{\ActionRecPause}{\ButtonPlay}
\newcommand{\ActionRecExit}{\ButtonRew{} or \ButtonRecOff}
\newcommand{\ActionRecSettingsInc}{\ButtonRight}
\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecPrev}{\ButtonUp}
\newcommand{\ActionRecNext}{\ButtonDown}

%Button actions, FM radio context
\newcommand{\ActionFMPreset}{\ButtonRight}
\newcommand{\ActionFMMenu}{\ButtonLeft}
\newcommand{\ActionFMMode}{Long \ButtonRight}
\newcommand{\ActionFMStop}{Long \ButtonPlay}
\newcommand{\ActionFMExit}{Long \ButtonLeft}
\newcommand{\ActionFMPlay}{\ButtonPlay}
\newcommand{\ActionFMSettingsInc}{\ButtonUp}
\newcommand{\ActionFMSettingsDec}{\ButtonDown}
\newcommand{\ActionFMPrev}{\ButtonRew}
\newcommand{\ActionFMNext}{\ButtonFF}

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

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