summaryrefslogtreecommitdiffstats
path: root/manual/platform
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2014-10-22 09:58:28 +0200
committerSzymon Dziok <b0hoon@o2.pl>2014-10-22 09:59:26 +0200
commite7f113e1bba417577b1b8564ea683900862537ef (patch)
tree33bf482896fbe6be859839606dd97b401eb3de79 /manual/platform
parentfa11990a2c90db4145592633efb0094c8ea84cfb (diff)
downloadrockbox-e7f113e1bba417577b1b8564ea683900862537ef.tar.gz
rockbox-e7f113e1bba417577b1b8564ea683900862537ef.zip
Manual for the Samsung YH820.
Change-Id: I1c760b4846963f39b9df60413ffbb9f95dc0e0fb
Diffstat (limited to 'manual/platform')
-rw-r--r--manual/platform/keymap-yh820.tex129
-rw-r--r--manual/platform/samsungyh820.tex27
2 files changed, 156 insertions, 0 deletions
diff --git a/manual/platform/keymap-yh820.tex b/manual/platform/keymap-yh820.tex
new file mode 100644
index 0000000000..47f5acad04
--- /dev/null
+++ b/manual/platform/keymap-yh820.tex
@@ -0,0 +1,129 @@
+% $Id$
+
+\newcommand{\ButtonPlay}{\btnfnt{Play}}
+\newcommand{\ButtonLeft}{\btnfnt{Left}}
+\newcommand{\ButtonRight}{\btnfnt{Right}}
+\newcommand{\ButtonUp}{\btnfnt{Up}}
+\newcommand{\ButtonDown}{\btnfnt{Down}}
+\newcommand{\ButtonRew}{\btnfnt{Rewind}}
+\newcommand{\ButtonFF}{\btnfnt{Forward}}
+\newcommand{\ButtonRec}{\btnfnt{Rec}}
+\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 Long \ButtonLeft}
+\newcommand{\ActionStdOk}{\ButtonRight}
+\newcommand{\ActionStdMenu}{Long \ButtonLeft{}+Long \ButtonUp}
+\newcommand{\ActionStdContext}{Long \ButtonRight}
+\newcommand{\ActionStdQuickScreen}{Long \ButtonLeft{}+Long \ButtonDown}
+\newcommand{\ActionQuickScreenExit}{\ButtonPlay{} or \ButtonFF}
+\newcommand{\ActionStdRec}{Long \ButtonRec}
+%a button without harmful side effects for USB charging
+\newcommand{\ActionStdUsbCharge}{\ButtonRew}
+
+%Button actions, wps context
+\newcommand{\ActionWpsPlay}{\ButtonPlay}
+\newcommand{\ActionWpsStop}{Long \ButtonPlay}
+\newcommand{\ActionWpsSkipPrev}{\ButtonRew}
+\newcommand{\ActionWpsSeekBack}{Long \ButtonRew}
+\newcommand{\ActionWpsSkipNext}{\ButtonFF}
+\newcommand{\ActionWpsSeekFwd}{Long \ButtonFF}
+\newcommand{\ActionWpsVolDown}{\ButtonDown}
+\newcommand{\ActionWpsVolUp}{\ButtonUp}
+\newcommand{\ActionWpsBrowse}{\ButtonRight}
+\newcommand{\ActionWpsContext}{Long \ButtonRight}
+\newcommand{\ActionWpsHotkey}{\ButtonRec}
+\newcommand{\ActionWpsPlaylist}{Long \ButtonLeft}
+\newcommand{\ActionWpsMenu}{\ButtonLeft}
+\newcommand{\ActionWpsQuickScreen}{Long \ButtonLeft{}+Long \ButtonDown}
+\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPlay{} + \ButtonRight}
+\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPlay{} + \ButtonLeft}
+\newcommand{\ActionWpsAbReset}{\ButtonPlay{} + \ButtonUp}
+
+%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}{\ButtonRight}
+
+%Button actions, Setting context
+\newcommand{\ActionSettingInc}{\ButtonUp}
+\newcommand{\ActionSettingDec}{\ButtonDown}
+
+%Button actions, Alarm screen
+\newcommand{\ActionAlarmSet}{\ButtonPlay}
+\newcommand{\ActionAlarmCancel}{Long \Buttonplay}
+\newcommand{\ActionAlarmHoursDec}{\ButtonDown}
+\newcommand{\ActionAlarmHoursInc}{\ButtonUp}
+
+%Button actions, Virtual Keyboard Context
+\newcommand{\ActionKbdLeft}{\ButtonLeft}
+\newcommand{\ActionKbdRight}{\ButtonRight}
+\newcommand{\ActionKbdSelect}{\ButtonPlay}
+\newcommand{\ActionKbdDone}{\ButtonFF}
+\newcommand{\ActionKbdAbort}{\ButtonFF{}+\ButtonRew{} or \ButtonRec}
+\newcommand{\ActionKbdUp}{\ButtonUp}
+\newcommand{\ActionKbdDown}{\ButtonDown}
+\newcommand{\ActionKbdCursorLeft}{\ButtonFF{}+\ButtonLeft}
+\newcommand{\ActionKbdCursorRight}{\ButtonFF{}+\ButtonRight}
+\newcommand{\ActionKbdBackSpace}{\ButtonRew}
+\newcommand{\ActionKbdMorseInput}{Long \ButtonFF}
+\newcommand{\ActionKbdMorseSelect}{\ButtonPlay}
+
+%Button actions, Pitch Screen context
+\newcommand{\ActionPsToggleMode}{\ButtonFF}
+\newcommand{\ActionPsIncSmall}{\ButtonUp}
+\newcommand{\ActionPsIncBig}{Long \ButtonUp}
+\newcommand{\ActionPsDecSmall}{\ButtonDown}
+\newcommand{\ActionPsDecBig}{Long \ButtonDown}
+\newcommand{\ActionPsNudgeLeft}{\ButtonLeft}
+\newcommand{\ActionPsNudgeRight}{\ButtonRight}
+\newcommand{\ActionPsReset}{\ButtonRew}
+\newcommand{\ActionPsExit}{\ButtonPlay}
+
+%Button actions, Recording screen context
+\newcommand{\ActionRecNewfile}{\ButtonFF}
+\newcommand{\ActionRecMenu}{\ButtonRew}
+\newcommand{\ActionRecPause}{\ButtonPlay}
+\newcommand{\ActionRecExit}{Long \ButtonRew{} or \ButtonRec}
+\newcommand{\ActionRecSettingsInc}{\ButtonRight}
+\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
+\newcommand{\ActionRecPrev}{\ButtonUp}
+\newcommand{\ActionRecNext}{\ButtonDown}
+
+%Button actions, FM radio context
+\newcommand{\ActionFMPreset}{\ButtonRight}
+\newcommand{\ActionFMMenu}{\ButtonLeft}
+\newcommand{\ActionFMMode}{Long \ButtonRight}
+\newcommand{\ActionFMStop}{Long \ButtonPlay}
+\newcommand{\ActionFMExit}{Long \ButtonLeft}
+\newcommand{\ActionFMPlay}{\ButtonPlay}
+\newcommand{\ActionFMSettingsInc}{\ButtonUp}
+\newcommand{\ActionFMSettingsDec}{\ButtonDown}
+\newcommand{\ActionFMPrev}{\ButtonRew}
+\newcommand{\ActionFMNext}{\ButtonFF}
+
+%Button actions, Bookmark screen context
+\newcommand{\ActionBmDelete}{Long \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}{\ButtonRew}
+\newcommand{\PluginExit}{\ButtonFF}
+\newcommand{\PluginSelect}{\ButtonPlay}
+\newcommand{\PluginSelectRepeat}{Long \ButtonPlay}
diff --git a/manual/platform/samsungyh820.tex b/manual/platform/samsungyh820.tex
new file mode 100644
index 0000000000..6d5704bdd8
--- /dev/null
+++ b/manual/platform/samsungyh820.tex
@@ -0,0 +1,27 @@
+% $Id$ %
+\def\UseOption{samsungyh820}
+\edef\UseOption{\UseOption,HAVE_RB_BL_ON_DISK}
+\edef\UseOption{\UseOption,SAMSUNG_YH820_PAD}
+\edef\UseOption{\UseOption,HAVE_BACKLIGHT}
+\edef\UseOption{\UseOption,HAVE_DISK_STORAGE}
+\edef\UseOption{\UseOption,samsungyh}
+
+\newcommand{\playerman}{Samsung}
+\newcommand{\playertype}{YH-820}
+\newcommand{\playerlongtype}{\playertype}
+\newcommand{\dapdisplaywidth}{128}
+\newcommand{\dapdisplayheight}{96}
+\newcommand{\dapdisplaydepth}{16}
+\newcommand{\specimg}{yh820}
+%Used to name the player, e.g. ...to the \dap
+\newcommand{\dap}{player}
+%For use when referring to the player. E.g. the \daps\ capacity ...
+\newcommand{\daps}{player's}
+\newcommand{\originalfirmwarefilename}{\fname{FW\_YH820.mi4}}
+\newcommand{\firmwarefilename}{\fname{rockbox.mi4}}
+\newcommand{\firmwareextension}{\fname{mi4}}
+\newcommand{\screenshotsize}{4cm}
+\newcommand{\disk}{hard disk}
+
+% link external keymap file
+\input{platform/keymap-yh820.tex}