1
0
Fork 0
forked from len0rd/rockbox

Add WPS hotkey for the D2, and make the tree hotkey only valid for non-touchscreen targets. This will have to be revisited if we gain touchscreen targets with tree hotkey capabilities.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26848 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alex Parker 2010-06-14 20:15:56 +00:00
parent cf985f0381
commit 7a72a291cb
5 changed files with 23 additions and 19 deletions

View file

@ -126,8 +126,8 @@
\opt{hotkey}{
hotkey wps & off, view playlist, show track info,
pitchscreen, open with, delete & N/A\\
hotkey tree & off, open with, delete, insert,
insert shuffled & N/A\\
\nopt{touchscreen}{hotkey tree & off, open with, delete, insert,
insert shuffled & N/A\\}
}
sort files & alpha, oldest, newest, type & N/A\\
sort dirs & alpha, oldest, newest & N/A\\

View file

@ -3,12 +3,13 @@
\section{\label{ref:HotkeySettings}Hotkey}
\begin{description}
\item[WPS Hotkey.]
\item[File Browser Hotkey.]
These options set the hotkey function for their respective screens
(see \reference{ref:Hotkeys}). The default for the WPS screen is
\setting{View Playlist}. The File Browser default is \setting{Off}.
\item[WPS Hotkey.] \opt{touchscreen}{This options sets the hotkey function for
the WPS screen (see \reference{ref:Hotkeys}). The
default is \setting{View Playlist}.}
\nopt{touchscreen}{\item[File Browser Hotkey.]}
\end{description}
\nopt{touchscreen}{These options set the hotkey function for their respective
screens (see \reference{ref:Hotkeys}). The default for the WPS screen is
\setting{View Playlist}. The File Browser default is \setting{Off}.}
}

View file

@ -42,6 +42,8 @@
\newcommand{\ActionWpsAbSetAPrevDir}{\TouchActionWpsAbSetAPrevDir}
\newcommand{\ActionWpsAbReset}{\TouchActionWpsAbReset}
\newcommand{\ActionWpsHotkey}{\TouchBottomRight}
%Button actions, tree context
\newcommand{\ActionTreeWps}{\ButtonPlus{}+\ButtonMenu{} or \TouchActionTreeWps}
\newcommand{\ActionTreeStop}{\ButtonMinus{}+\ButtonPower{} or \TouchActionTreeStop}

View file

@ -107,7 +107,7 @@ the \setting{Show Files} setting to all.
\ActionStdRec & Switch to the \setting{Recording Screen}.\\
%
}
\opt{hotkey}{
\nopt{cowond2}{\opt{hotkey}{
\ActionTreeHotkey
&
\opt{HAVEREMOTEKEYMAP}{
@ -115,7 +115,7 @@ the \setting{Show Files} setting to all.
Activate the \setting{Hotkey} function
(see \reference{ref:Hotkeys}).
\\
}
}}
\end{btnmap}
\opt{RECORDER_PAD}{

View file

@ -1,16 +1,17 @@
% $Id$ %
\opt{hotkey}{
\section{\label{ref:Hotkeys}Hotkeys}
Hotkeys are shortcut keys for use in the \setting{File Browser}
and \setting{WPS} screens. To use one, press \ActionWpsHotkey{}
within the \setting{File Browser} or \setting{WPS} screens.
The assigned function will launch with reference to the current
file or directory, if applicable. Each screen has its own
assignment. If there is no assignment for a given screen,
Hotkeys are shortcut keys for use in the \nopt{touchscreen}{\setting{File Browser}
and }\setting{WPS} screen. To use one, press
\nopt{touchscreen}{\ActionTreeHotkey{} within the \setting{File Browser} or}
\ActionWpsHotkey{} within the \setting{WPS}
screen.\nopt{touchscreen}{ The assigned function will launch with reference
to the current file or directory, if applicable. Each screen has its own
assignment.} If there is no assignment for a given screen,
the hotkey is ignored.
The default assignment for the File Browser hotkey is
\setting{Off}, but the WPS hotkey defaults to
The default assignment for the \nopt{touchscreen}{File Browser hotkey is
\setting{Off}, while the default for the }WPS hotkey is
\setting{View Playlist}.
The hotkey assignments are changed in the Hotkey menu (see