summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-18 22:42:35 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-18 22:42:35 +0000
commitb6a1ac98372162c5d5b134bcc8eb5fe351792f29 (patch)
tree7c920e0ec794c2ed3104c3c4906c2d459215dd98
parentfc2ff76647b96044f5e5a4c75540879002aafdcb (diff)
downloadrockbox-b6a1ac98372162c5d5b134bcc8eb5fe351792f29.tar.gz
rockbox-b6a1ac98372162c5d5b134bcc8eb5fe351792f29.zip
clip recording keymap changes, thanks to dfkt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26943 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/keymaps/keymap-clip.c14
-rw-r--r--manual/platform/keymap-sansaclip.tex12
2 files changed, 12 insertions, 14 deletions
diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c
index a8766b5643..2a3d798d58 100644
--- a/apps/keymaps/keymap-clip.c
+++ b/apps/keymaps/keymap-clip.c
@@ -219,19 +219,17 @@ static const struct button_mapping button_context_pitchscreen[] = {
219#ifdef HAVE_RECORDING 219#ifdef HAVE_RECORDING
220/** Recording Screen **/ 220/** Recording Screen **/
221static const struct button_mapping button_context_recscreen[] = { 221static const struct button_mapping button_context_recscreen[] = {
222 { ACTION_REC_PAUSE, BUTTON_UP|BUTTON_REL, BUTTON_UP }, 222 { ACTION_REC_PAUSE, BUTTON_SELECT, BUTTON_NONE },
223 { ACTION_STD_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
224 { ACTION_REC_NEWFILE, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, 223 { ACTION_REC_NEWFILE, BUTTON_HOME|BUTTON_REL, BUTTON_HOME },
225 { ACTION_STD_MENU, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT}, 224 { ACTION_STD_MENU, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
226 { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE }, 225 { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE },
227 { ACTION_SETTINGS_INCREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, 226 { ACTION_SETTINGS_INCREPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
228 { ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE }, 227 { ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE },
229 { ACTION_SETTINGS_DECREPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, 228 { ACTION_SETTINGS_DECREPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
230 { ACTION_STD_PREV, BUTTON_LEFT, BUTTON_NONE }, 229 { ACTION_SETTINGS_INC, BUTTON_VOL_UP, BUTTON_NONE },
231 { ACTION_STD_PREV, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, 230 { ACTION_SETTINGS_INCREPEAT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
232 { ACTION_STD_NEXT, BUTTON_RIGHT, BUTTON_NONE }, 231 { ACTION_SETTINGS_DEC, BUTTON_VOL_DOWN, BUTTON_NONE },
233 { ACTION_STD_NEXT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, 232 { ACTION_SETTINGS_DECREPEAT, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
234 { ACTION_NONE, BUTTON_DOWN|BUTTON_REL, BUTTON_DOWN },
235 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) 233 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
236}; /* button_context_recscreen */ 234}; /* button_context_recscreen */
237#endif 235#endif
diff --git a/manual/platform/keymap-sansaclip.tex b/manual/platform/keymap-sansaclip.tex
index 4c7feed012..91faea2d08 100644
--- a/manual/platform/keymap-sansaclip.tex
+++ b/manual/platform/keymap-sansaclip.tex
@@ -85,14 +85,14 @@
85\newcommand{\ActionPsExit}{\ButtonPower{} or \ButtonUp} 85\newcommand{\ActionPsExit}{\ButtonPower{} or \ButtonUp}
86 86
87%Button actions, Recording screen context 87%Button actions, Recording screen context
88\newcommand{\ActionRecPause}{\ButtonUp} 88\newcommand{\ActionRecPause}{\ButtonSelect}
89\newcommand{\ActionRecExit}{\ButtonDown} 89\newcommand{\ActionRecExit}{\ButtonPower}
90\newcommand{\ActionRecNewfile}{\ButtonHome} 90\newcommand{\ActionRecNewfile}{\ButtonHome}
91\newcommand{\ActionRecMenu}{Long \ButtonSelect} 91\newcommand{\ActionRecMenu}{Long \ButtonDown}
92\newcommand{\ActionRecSettingsInc}{\ButtonRight} 92\newcommand{\ActionRecSettingsInc}{\ButtonRight}
93\newcommand{\ActionRecSettingsDec}{\ButtonLeft} 93\newcommand{\ActionRecSettingsDec}{\ButtonLeft}
94\newcommand{\ActionRecPrev}{\ButtonVolDown} 94\newcommand{\ActionRecPrev}{\ButtonDown}
95\newcommand{\ActionRecNext}{\ButtonVolUp} 95\newcommand{\ActionRecNext}{\ButtonUp}
96 96
97%Button actions, FM radio context 97%Button actions, FM radio context
98\newcommand{\ActionFMPreset}{\ButtonSelect} 98\newcommand{\ActionFMPreset}{\ButtonSelect}
@@ -127,4 +127,4 @@
127\newcommand{\PluginCancel}{\ButtonPower} 127\newcommand{\PluginCancel}{\ButtonPower}
128\newcommand{\PluginExit}{Long \ButtonPower} 128\newcommand{\PluginExit}{Long \ButtonPower}
129\newcommand{\PluginSelect}{\ButtonSelect} 129\newcommand{\PluginSelect}{\ButtonSelect}
130\newcommand{\PluginSelectRepeat}{Long \ButtonSelect} \ No newline at end of file 130\newcommand{\PluginSelectRepeat}{Long \ButtonSelect}