% $Id: keymap-vibe500.tex 23883 2010-03-29 12:19:08Z b0hoon $

\newcommand{\ButtonPower}{\btnfnt{Power}}
\newcommand{\ButtonMenu}{\btnfnt{Menu}}
\newcommand{\ButtonPlay}{\btnfnt{Play}}
\newcommand{\ButtonLeft}{\btnfnt{Prev}}
\newcommand{\ButtonRight}{\btnfnt{Next}}
\newcommand{\ButtonUp}{\btnfnt{Scroll Up}}
\newcommand{\ButtonDown}{\btnfnt{Scroll Down}}
\newcommand{\ButtonOK}{\btnfnt{OK}}
\newcommand{\ButtonCancel}{\btnfnt{Cancel}}
\newcommand{\ButtonRec}{\btnfnt{Rec}}
\newcommand{\ButtonHold}{\btnfnt{Hold}}

%Button actions, standard context
\newcommand{\ActionStdPrev}{\ButtonUp}
\newcommand{\ActionStdPrevRepeat}{\ButtonUp}
\newcommand{\ActionStdNext}{\ButtonDown}
\newcommand{\ActionStdNextRepeat}{\ButtonDown}
\newcommand{\ActionStdCancel}{\ButtonLeft{} or \ButtonCancel}
\newcommand{\ActionStdOk}{\ButtonRight{} or \ButtonOK}
\newcommand{\ActionStdMenu}{\ButtonMenu}
\newcommand{\ActionStdQuickScreen}{Long \ButtonOK}
\newcommand{\ActionStdContext}{Long \ButtonMenu}
\newcommand{\ActionQuickScreenExit}{\ButtonOK{} or \ButtonCancel}
\newcommand{\ActionStdUsbCharge}{\ButtonRec}

%Button actions, wps context
\newcommand{\ActionWpsPlay}{\ButtonPlay}
\newcommand{\ActionWpsStop}{Long \ButtonPlay}
\newcommand{\ActionWpsSkipPrev}{\ButtonLeft}
\newcommand{\ActionWpsSeekBack}{Long \ButtonLeft}
\newcommand{\ActionWpsSkipNext}{\ButtonRight}
\newcommand{\ActionWpsSeekFwd}{Long \ButtonRight}
\newcommand{\ActionWpsVolDown}{\ButtonDown}
\newcommand{\ActionWpsVolUp}{\ButtonUp}
\newcommand{\ActionWpsBrowse}{\ButtonOK}
\newcommand{\ActionWpsContext}{Long \ButtonMenu}
\newcommand{\ActionWpsHotkey}{\ButtonRec}
\newcommand{\ActionWpsPlaylist}{\ButtonCancel}
\newcommand{\ActionWpsMenu}{\ButtonMenu}
\newcommand{\ActionWpsQuickScreen}{Long \ButtonOK}

%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}{\ButtonOK}

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

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

%Button actions, Virtual Keyboard Context
\newcommand{\ActionKbdLeft}{\ButtonLeft}
\newcommand{\ActionKbdRight}{\ButtonRight}
\newcommand{\ActionKbdSelect}{\ButtonPlay}
\newcommand{\ActionKbdDone}{\ButtonOK}
\newcommand{\ActionKbdAbort}{\ButtonCancel}
\newcommand{\ActionKbdUp}{\ButtonUp}
\newcommand{\ActionKbdDown}{\ButtonDown}
\newcommand{\ActionKbdBackSpace}{\ButtonMenu}
\newcommand{\ActionKbdMorseInput}{Long \ButtonMenu}
\newcommand{\ActionKbdMorseSelect}{\ButtonPlay}

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

%Button actions, Recording screen context

\newcommand{\ActionRecNewfile}{\ButtonRec}
\newcommand{\ActionRecMenu}{Long \ButtonMenu}
\newcommand{\ActionRecPause}{\ButtonPlay}
\newcommand{\ActionRecExit}{\ButtonCancel}
\newcommand{\ActionRecSettingsInc}{\ButtonRight}
\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
\newcommand{\ActionRecPrev}{\ButtonUp}
\newcommand{\ActionRecNext}{\ButtonDown}

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

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

