% $Id$

\newcommand{\ButtonOn}{\btnfnt{On}}
\newcommand{\ButtonOff}{\btnfnt{Off}}
\newcommand{\ButtonPlay}{\btnfnt{Play}}
\newcommand{\ButtonUp}{\btnfnt{Up}}
\newcommand{\ButtonDown}{\btnfnt{Down}}
\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonFOne}{\btnfnt{F1}}
\newcommand{\ButtonFTwo}{\btnfnt{F2}}
\newcommand{\ButtonFThree}{\btnfnt{F3}}

%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 \ButtonPlay}
\newcommand{\ActionStdQuickScreen}{\ButtonFTwo}
\newcommand{\ActionQuickScreenExit}{\ButtonPlay}
\newcommand{\ActionStdMenu}{\ButtonFOne}
\newcommand{\ActionStdOk}{\ButtonRight{} or \ButtonOn}
\newcommand{\ActionStdUsbCharge}{\ButtonFOne}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonPlay}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
\newcommand{\ActionWpsStop}{\ButtonOff}
\newcommand{\ActionWpsVolDown}{\ButtonDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp}
\newcommand{\ActionWpsPitchScreen}{\ButtonOn{} + \ButtonUp/\ButtonDown}
\newcommand{\ActionWpsQuickScreen}{Long \ButtonFTwo}
\newcommand{\ActionWpsMenu}{\ButtonFOne}
\newcommand{\ActionWpsContext}{Long \ButtonPlay}
\newcommand{\ActionWpsBrowse}{\ButtonOn}
\newcommand{\ActionWpsIdThreeScreen}{\ButtonFOne{} + \ButtonOn}
\newcommand{\ActionWpsHotkey}{\ButtonFTwo}

\newcommand{\ActionWpsAbSetBNextDir}{\ButtonOn{} + \ButtonLeft}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonOn{} + \ButtonRight}
\newcommand{\ActionWpsAbReset}{\ButtonOn{} + \ButtonOff}

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

%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}{\ButtonOff}
\newcommand{\ActionAlarmHoursInc}{\ButtonRight}
\newcommand{\ActionAlarmHoursDec}{\ButtonLeft}

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonPlay}
\newcommand{\ActionKbdCursorLeft}{\ButtonOn{} + \ButtonLeft}
\newcommand{\ActionKbdCursorRight}{\ButtonOn{} + \ButtonRight}
\newcommand{\ActionKbdPageFlip}{\ButtonFOne}
\newcommand{\ActionKbdDone}{\ButtonFTwo}
\newcommand{\ActionKbdAbort}{\ButtonOff}
\newcommand{\ActionKbdBackSpace}{\ButtonFThree}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}
\newcommand{\ActionKbdMorseSelect}{\ButtonPlay}

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

%Button actions, Recording screen context
\newcommand{\ActionRecPause}{\ButtonPlay}
\newcommand{\ActionRecFTwo}{\ButtonFTwo}
\newcommand{\ActionRecFThree}{\ButtonFThree}
\newcommand{\ActionRecSettingsInc}{\ButtonRight}
\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecPrev}{\ButtonUp}
\newcommand{\ActionRecNext}{\ButtonDown}
\newcommand{\ActionRecMenu}{\ButtonFOne}
\newcommand{\ActionRecExit}{\ButtonOff}

%Button actions, FM radio context
\newcommand{\ActionFMPreset}{\ButtonFTwo}
\newcommand{\ActionFMMenu}{\ButtonFOne}
\newcommand{\ActionFMMode}{Long \ButtonOn}
\newcommand{\ActionFMStop}{\ButtonOff}
\newcommand{\ActionFMExit}{\ButtonOn}
\newcommand{\ActionFMSettingsInc}{\ButtonUp}
\newcommand{\ActionFMSettingsDec}{\ButtonDown}
\newcommand{\ActionFMPrev}{\ButtonLeft}
\newcommand{\ActionFMNext}{\ButtonRight}

\newcommand{\ActionBmDelete}{\ButtonOn{} + \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}{\ButtonOn}
\newcommand{\PluginExit}{\ButtonOff}
\newcommand{\PluginSelect}{\ButtonPlay}
\newcommand{\PluginSelectRepeat}{Long \ButtonPlay}
