% $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}}
\newcommand{\ButtonRec}{\btnfnt{Rec}}
\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 \ButtonFF}
\newcommand{\ActionStdRec}{Long \ButtonRec}
%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}{\ButtonRec}
\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}

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

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

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

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

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonPlay}
\newcommand{\ActionKbdDone}{\ButtonFF}
\newcommand{\ActionKbdAbort}{\ButtonFF{}+\ButtonRew{} or \ButtonRec}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}
\newcommand{\ActionKbdCursorLeft}{\ButtonFF{}+\ButtonLeft}
\newcommand{\ActionKbdCursorRight}{\ButtonFF{}+\ButtonRight}
\newcommand{\ActionKbdBackSpace}{\ButtonRew}
\newcommand{\ActionKbdMorseInput}{Long \ButtonFF}
\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}{\ButtonRew}
\newcommand{\ActionRecPause}{\ButtonPlay}
\newcommand{\ActionRecExit}{Long \ButtonRew{} or \ButtonRec}
\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}{\ButtonFF}
\newcommand{\PluginSelect}{\ButtonPlay}
\newcommand{\PluginSelectRepeat}{Long \ButtonPlay}
