mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
fiiom3k: Recording keymap adjustment
Long button presses to create a new file were in conflict with button presses to play/pause. Pressing SELECT is now used to create a new file (and start recording, if stopped), pressing PLAY/PAUSE will start or pause recording. Change-Id: If2e568b9b05500d73fd54b691262a64d1a0ff487
This commit is contained in:
parent
35150b83d4
commit
e43c703480
2 changed files with 3 additions and 5 deletions
|
@ -215,10 +215,8 @@ static const struct button_mapping button_context_yesnoscreen[] = {
|
|||
}; /* button_context_yesnoscreen */
|
||||
|
||||
static const struct button_mapping button_context_recscreen[] = {
|
||||
{ACTION_REC_PAUSE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{ACTION_REC_PAUSE, BUTTON_PLAY, BUTTON_NONE},
|
||||
{ACTION_REC_NEWFILE, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT},
|
||||
{ACTION_REC_NEWFILE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY},
|
||||
{ACTION_REC_NEWFILE, BUTTON_SELECT, BUTTON_NONE},
|
||||
{ACTION_STD_MENU, BUTTON_MENU, BUTTON_NONE},
|
||||
{ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE},
|
||||
{ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE},
|
||||
|
|
|
@ -46,9 +46,9 @@
|
|||
\newcommand{\ActionWpsAbReset}{Long \ButtonBack}
|
||||
|
||||
%Button actions, recording context
|
||||
\newcommand{\ActionRecPause}{\ButtonSelect{} or \ButtonPlay}
|
||||
\newcommand{\ActionRecPause}{\ButtonPlay}
|
||||
\newcommand{\ActionRecExit}{\ButtonBack{} or \ButtonPower}
|
||||
\newcommand{\ActionRecNewfile}{Long \ButtonSelect{} or Long \ButtonPlay}
|
||||
\newcommand{\ActionRecNewfile}{\ButtonSelect}
|
||||
\newcommand{\ActionRecMenu}{\ButtonMenu}
|
||||
\newcommand{\ActionRecPrev}{\ActionStdPrev}
|
||||
\newcommand{\ActionRecPrevRepeat}{\ActionStdPrevRepeat}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue