diff options
author | Martin Scarratt <mmmm@rockbox.org> | 2006-08-20 21:33:40 +0000 |
---|---|---|
committer | Martin Scarratt <mmmm@rockbox.org> | 2006-08-20 21:33:40 +0000 |
commit | c8bd9129bf146c3c0bbacc744ab509709a004fd7 (patch) | |
tree | ecf927b6f31c94f12e073c0b9fbd1a144ecd83d3 /apps/keymaps/keymap-x5.c | |
parent | 7847dde8cf00838de8ff75b8398ffbb1921baf8b (diff) | |
download | rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.tar.gz rockbox-c8bd9129bf146c3c0bbacc744ab509709a004fd7.zip |
Button action code for recording screen. Shouldnt make any noticable difference in recording screen button operation except for H300 I-River remote, which should now work as expected, -10 button = LCD off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10666 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-x5.c')
-rw-r--r-- | apps/keymaps/keymap-x5.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index b04932f02f..3752b35f9c 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c | |||
@@ -202,6 +202,19 @@ const struct button_mapping remote_button_context_wps[] = { | |||
202 | LAST_ITEM_IN_LIST | 202 | LAST_ITEM_IN_LIST |
203 | }; | 203 | }; |
204 | 204 | ||
205 | const struct button_mapping button_context_recscreen[] = { | ||
206 | { ACTION_REC_PAUSE, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, | ||
207 | { ACTION_STD_CANCEL, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, | ||
208 | { ACTION_REC_NEWFILE, BUTTON_REC|BUTTON_REL, BUTTON_REC }, | ||
209 | { ACTION_STD_MENU, BUTTON_REC|BUTTON_REPEAT, BUTTON_REC }, | ||
210 | { ACTION_SETTINGS_INC, BUTTON_RIGHT, BUTTON_NONE }, | ||
211 | { ACTION_SETTINGS_INC, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, | ||
212 | { ACTION_SETTINGS_DEC, BUTTON_LEFT, BUTTON_NONE }, | ||
213 | { ACTION_SETTINGS_DEC, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, | ||
214 | |||
215 | LAST_ITEM_IN_LIST | ||
216 | }; /* button_context_recscreen */ | ||
217 | |||
205 | 218 | ||
206 | static const struct button_mapping* get_context_mapping_remote( int context ) | 219 | static const struct button_mapping* get_context_mapping_remote( int context ) |
207 | { | 220 | { |
@@ -252,6 +265,8 @@ const struct button_mapping* get_context_mapping( int context ) | |||
252 | return button_context_quickscreen; | 265 | return button_context_quickscreen; |
253 | case CONTEXT_PITCHSCREEN: | 266 | case CONTEXT_PITCHSCREEN: |
254 | return button_context_pitchscreen; | 267 | return button_context_pitchscreen; |
268 | case CONTEXT_RECSCREEN: | ||
269 | return button_context_recscreen; | ||
255 | case CONTEXT_LIST: | 270 | case CONTEXT_LIST: |
256 | case CONTEXT_MAINMENU: | 271 | case CONTEXT_MAINMENU: |
257 | default: | 272 | default: |