% $Id$

\newcommand{\ButtonLeft}{\btnfnt{Left}}
\newcommand{\ButtonRight}{\btnfnt{Right}}
\newcommand{\ButtonHome}{\btnfnt{Home}}
\newcommand{\ButtonUp}{\btnfnt{Play}}
\newcommand{\ButtonDown}{\btnfnt{Submenu}}
\newcommand{\ButtonSelect}{\btnfnt{Select}}
\newcommand{\ButtonPower}{\btnfnt{Power}}
\newcommand{\ButtonVolDown}{\btnfnt{Volume Down}}
\newcommand{\ButtonVolUp}{\btnfnt{Volume Up}}
\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}
\newcommand{\ActionStdContext}{Long \ButtonSelect}
\newcommand{\ActionStdQuickScreen}{Long \ButtonHome}
\newcommand{\ActionQuickScreenExit}{\ButtonSelect{} or \ButtonHome}
\newcommand{\ActionStdMenu}{\ButtonHome}
\newcommand{\ActionStdOk}{\ButtonSelect{} or \ButtonRight}
\newcommand{\ActionStdUsbCharge}{\ButtonSelect}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonUp}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}

\newcommand{\ActionWpsStop}{\ButtonPower}
\newcommand{\ActionWpsVolDown}{\ButtonVolDown}
\newcommand{\ActionWpsVolUp}{\ButtonVolUp}

\newcommand{\ActionWpsQuickScreen}{Long \ButtonHome}
\newcommand{\ActionWpsMenu}{\ButtonHome}
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp}
\newcommand{\ActionWpsPlaylist}{\ButtonDown}
\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
\newcommand{\ActionWpsHotkey}{Long \ButtonDown}

\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
\newcommand{\ActionWpsAbReset}{\ButtonPower{} + \ButtonUp}

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

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

%Button actions, Setting context
\newcommand{\ActionSettingInc}{\ButtonRight}
\newcommand{\ActionSettingDec}{\ButtonLeft}

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonSelect}
\newcommand{\ActionKbdDone}{Long \ButtonSelect}
\newcommand{\ActionKbdAbort}{\ButtonPower}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}
\newcommand{\ActionKbdCursorLeft}{\ButtonVolUp}
\newcommand{\ActionKbdCursorRight}{\ButtonVolDown}
\newcommand{\ActionKbdBackSpace}{\ButtonHome}
\newcommand{\ActionKbdPageFlip}{}

%Button actions, Pitch Screen context
\newcommand{\ActionPsToggleMode}{\ButtonSelect}
\newcommand{\ActionPsIncSmall}{\ButtonUp}
\newcommand{\ActionPsIncBig}{Long \ButtonUp}
\newcommand{\ActionPsDecSmall}{\ButtonDown}
\newcommand{\ActionPsDecBig}{Long \ButtonDown}
\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
\newcommand{\ActionPsNudgeRight}{\ButtonRight}
\newcommand{\ActionPsReset}{Long \ButtonHome or Long \ButtonSelect}
\newcommand{\ActionPsExit}{\ButtonPower or \ButtonHome}

%Button actions, Recording screen context
\newcommand{\ActionRecPause}{\ButtonSelect}
\newcommand{\ActionRecExit}{\ButtonPower}
\newcommand{\ActionRecNewfile}{\ButtonHome}
\newcommand{\ActionRecMenu}{Long \ButtonDown}
\newcommand{\ActionRecSettingsInc}{\ButtonRight}
\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecPrev}{\ButtonDown}
\newcommand{\ActionRecNext}{\ButtonUp}

%Button actions, FM radio context
\newcommand{\ActionFMPreset}{\ButtonSelect}
\newcommand{\ActionFMMenu}{Long \ButtonSelect}
\newcommand{\ActionFMMode}{\ButtonDown}
\newcommand{\ActionFMStop}{\ButtonPower}
\newcommand{\ActionFMExit}{\ButtonHome}
\newcommand{\ActionFMPlay}{\ButtonUp}
\newcommand{\ActionFMSettingsInc}{\ButtonVolUp} %?
\newcommand{\ActionFMSettingsDec}{\ButtonVolDown} %?
\newcommand{\ActionFMPrev}{\ButtonLeft}
\newcommand{\ActionFMNext}{\ButtonRight}

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

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

%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}
