% $Id$

\newcommand{\ButtonPower}{\btnfnt{Power}}
\newcommand{\ButtonBack}{\btnfnt{Back}}
\newcommand{\ButtonMenu}{\btnfnt{Menu}}
\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonUp}{\btnfnt{Up}}
\newcommand{\ButtonDown}{\btnfnt{Down}}
\newcommand{\ButtonVolUp}{\btnfnt{Volume Up}}
\newcommand{\ButtonVolDown}{\btnfnt{Volume Down}}
\newcommand{\ButtonSelect}{\btnfnt{Select}}
\newcommand{\ButtonPrev}{\btnfnt{Previous}}
\newcommand{\ButtonPlay}{\btnfnt{Play}}
\newcommand{\ButtonNext}{\btnfnt{Next}}
\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{}, \ButtonPower{} or \ButtonBack}
\newcommand{\ActionStdContext}{Long \ButtonSelect}
\newcommand{\ActionStdQuickScreen}{Long \ButtonMenu}
\newcommand{\ActionQuickScreenExit}{\ButtonMenu}
\newcommand{\ActionStdMenu}{\ButtonMenu}
\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
\newcommand{\ActionStdUsbCharge}{\ButtonMenu}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonPlay}
\newcommand{\ActionWpsSkipNext}{\ButtonRight{} or \ButtonNext}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft{} or \ButtonPrev}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft{} or Long \ButtonPrev}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight{} or Long \ButtonNext}
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonBack{} + \ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonBack{} + \ButtonLeft}
\newcommand{\ActionWpsStop}{\ButtonPower}
\newcommand{\ActionWpsVolDown}{\ButtonDown{} or \ButtonVolDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp{} or \ButtonVolUp}
\newcommand{\ActionWpsPitchScreen}{\ButtonBack{} + \ButtonUp}
\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
\newcommand{\ActionWpsMenu}{\ButtonMenu}
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
\newcommand{\ActionWpsAbReset}{\ButtonBack{}}
\newcommand{\ActionWpsPlaylist}{\ButtonBack{} + \ButtonDown}
\newcommand{\ActionWpsHotkey}{\ButtonBack{} + \ButtonMenu}

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

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

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

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

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonSelect}
\newcommand{\ActionKbdCursorLeft}{\ButtonPrev}
\newcommand{\ActionKbdCursorRight}{\ButtonNext}
\newcommand{\ActionKbdPageFlip}{\ButtonBack{} + \ButtonMenu}
\newcommand{\ActionKbdDone}{\ButtonPlay}
\newcommand{\ActionKbdAbort}{\ButtonBack}
\newcommand{\ActionKbdBackSpace}{\ButtonMenu}
\newcommand{\ActionKbdMorseInput}{\ButtonBack{} + \ButtonVolUp}
\newcommand{\ActionKbdMorseSelect}{\ButtonSelect}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}

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

%Button actions, Recording screen context
\newcommand{\ActionRecPause}{\ButtonPlay}
\newcommand{\ActionRecNewfile}{\ButtonNext}
\newcommand{\ActionRecSettingsInc}{\ButtonRight}
\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecPrev}{\ButtonUp}
\newcommand{\ActionRecNext}{\ButtonDown}
\newcommand{\ActionRecMenu}{Long \ButtonMenu}
\newcommand{\ActionRecExit}{\ButtonBack}

%Button actions, FM radio context
\newcommand{\ActionFMPreset}{\ButtonSelect}
\newcommand{\ActionFMMenu}{Long \ButtonSelect}
\newcommand{\ActionFMMode}{\ButtonMenu}
\newcommand{\ActionFMStop}{\ButtonPower}
\newcommand{\ActionFMExit}{\ButtonBack}
\newcommand{\ActionFMPlay}{\ButtonPlay}
\newcommand{\ActionFMSettingsInc}{\ButtonVolUp}
\newcommand{\ActionFMSettingsDec}{\ButtonVolDown}
\newcommand{\ActionFMPrev}{\ButtonUp}
\newcommand{\ActionFMNext}{\ButtonNext}

%Button actions, Bookmark screen context
\newcommand{\ActionBmDelete}{\ButtonBack{} + \ButtonSelect}

%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}{\ButtonBack}
\newcommand{\PluginExit}{\ButtonMenu}
\newcommand{\PluginSelect}{\ButtonSelect}
\newcommand{\PluginSelectRepeat}{Long \ButtonSelect}
