% $Id$

\newcommand{\ButtonPower}{\btnfnt{Power}}
\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{\ButtonA}{\btnfnt{A}}
\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 \ButtonPower}
\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}{\ButtonA}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonA{} + \ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonA{} + \ButtonLeft}
\newcommand{\ActionWpsStop}{\ButtonPower}
\newcommand{\ActionWpsVolDown}{\ButtonDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp}
\newcommand{\ActionWpsPitchScreen}{\ButtonA{} + \ButtonUp/\ButtonDown}
\newcommand{\ActionWpsQuickScreen}{Long \ButtonMenu}
\newcommand{\ActionWpsMenu}{\ButtonMenu}
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
\newcommand{\ActionWpsAbReset}{\ButtonA{} + \ButtonSelect}
\newcommand{\ActionWpsPlaylist}{\ButtonA{} + \ButtonDown}
\newcommand{\ActionWpsHotkey}{\ButtonA{} + \ButtonMenu}

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

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

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

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonSelect}
\newcommand{\ActionKbdCursorLeft}{\ButtonA{} + \ButtonLeft}
\newcommand{\ActionKbdCursorRight}{\ButtonA{} + \ButtonRight}
\newcommand{\ActionKbdPageFlip}{\ButtonA{} + \ButtonMenu}
\newcommand{\ActionKbdDone}{\ButtonA}
\newcommand{\ActionKbdAbort}{\ButtonPower}
\newcommand{\ActionKbdBackSpace}{\ButtonMenu}
\newcommand{\ActionKbdMorseInput}{\ButtonA{} + \ButtonPower}
\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}{\ButtonA}
\newcommand{\ActionPsExit}{\ButtonPower}

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

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