summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-08-18 13:01:47 +0200
committerChristian Soffke <christian.soffke@gmail.com>2023-09-21 04:48:57 +0200
commite43c703480b4f1686abddf23537360acb723bb5e (patch)
tree78c270e50e4d8ab584eeb88a6b4758ef9967cf94
parent35150b83d488c9ebfa3e2d5ab4e3af78dc60ee0c (diff)
downloadrockbox-e43c703480b4f1686abddf23537360acb723bb5e.tar.gz
rockbox-e43c703480b4f1686abddf23537360acb723bb5e.zip
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
-rw-r--r--apps/keymaps/keymap-fiiom3k.c4
-rw-r--r--manual/platform/keymap-fiiom3k.tex4
2 files changed, 3 insertions, 5 deletions
diff --git a/apps/keymaps/keymap-fiiom3k.c b/apps/keymaps/keymap-fiiom3k.c
index 01fe3a689c..1ccf7e956f 100644
--- a/apps/keymaps/keymap-fiiom3k.c
+++ b/apps/keymaps/keymap-fiiom3k.c
@@ -215,10 +215,8 @@ static const struct button_mapping button_context_yesnoscreen[] = {
215}; /* button_context_yesnoscreen */ 215}; /* button_context_yesnoscreen */
216 216
217static const struct button_mapping button_context_recscreen[] = { 217static const struct button_mapping button_context_recscreen[] = {
218 {ACTION_REC_PAUSE, BUTTON_SELECT, BUTTON_NONE},
219 {ACTION_REC_PAUSE, BUTTON_PLAY, BUTTON_NONE}, 218 {ACTION_REC_PAUSE, BUTTON_PLAY, BUTTON_NONE},
220 {ACTION_REC_NEWFILE, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT}, 219 {ACTION_REC_NEWFILE, BUTTON_SELECT, BUTTON_NONE},
221 {ACTION_REC_NEWFILE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY},
222 {ACTION_STD_MENU, BUTTON_MENU, BUTTON_NONE}, 220 {ACTION_STD_MENU, BUTTON_MENU, BUTTON_NONE},
223 {ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE}, 221 {ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE},
224 {ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE}, 222 {ACTION_STD_CANCEL, BUTTON_POWER, BUTTON_NONE},
diff --git a/manual/platform/keymap-fiiom3k.tex b/manual/platform/keymap-fiiom3k.tex
index 5ab89177ec..2112673f03 100644
--- a/manual/platform/keymap-fiiom3k.tex
+++ b/manual/platform/keymap-fiiom3k.tex
@@ -46,9 +46,9 @@
46\newcommand{\ActionWpsAbReset}{Long \ButtonBack} 46\newcommand{\ActionWpsAbReset}{Long \ButtonBack}
47 47
48%Button actions, recording context 48%Button actions, recording context
49\newcommand{\ActionRecPause}{\ButtonSelect{} or \ButtonPlay} 49\newcommand{\ActionRecPause}{\ButtonPlay}
50\newcommand{\ActionRecExit}{\ButtonBack{} or \ButtonPower} 50\newcommand{\ActionRecExit}{\ButtonBack{} or \ButtonPower}
51\newcommand{\ActionRecNewfile}{Long \ButtonSelect{} or Long \ButtonPlay} 51\newcommand{\ActionRecNewfile}{\ButtonSelect}
52\newcommand{\ActionRecMenu}{\ButtonMenu} 52\newcommand{\ActionRecMenu}{\ButtonMenu}
53\newcommand{\ActionRecPrev}{\ActionStdPrev} 53\newcommand{\ActionRecPrev}{\ActionStdPrev}
54\newcommand{\ActionRecPrevRepeat}{\ActionStdPrevRepeat} 54\newcommand{\ActionRecPrevRepeat}{\ActionStdPrevRepeat}