diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-15 13:34:06 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-15 13:34:06 +0000 |
commit | b9fb0e81f1c702495c3dc73c2f59b965fdf9caae (patch) | |
tree | ea343d8caff1ac66a95af53f3b8b052f8b2b00b3 /apps/keymaps/keymap-recorder.c | |
parent | fc36c0e22a5e9eb7741a9e01242001ba6901bba5 (diff) |
quickscreen keys for recorder. play to quit?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-recorder.c')
-rw-r--r-- | apps/keymaps/keymap-recorder.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index ab75bc51e7..feeda35264 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -111,6 +111,19 @@ struct button_mapping button_context_yesno[] = { LAST_ITEM_IN_LIST }; +struct button_mapping button_context_quickscreen[] = { + { ACTION_QS_DOWNINV, BUTTON_UP, BUTTON_NONE }, + { ACTION_QS_DOWNINV, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, + { ACTION_QS_DOWN, BUTTON_DOWN, BUTTON_NONE }, + { ACTION_QS_DOWN, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_DOWN }, + { ACTION_QS_LEFT, BUTTON_LEFT, BUTTON_NONE }, + { ACTION_QS_LEFT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_LEFT }, + { ACTION_QS_RIGHT, BUTTON_RIGHT, BUTTON_NONE }, + { ACTION_QS_RIGHT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_RIGHT }, + { ACTION_STD_CANCEL, BUTTON_PLAY, BUTTON_NONE }, + + LAST_ITEM_IN_LIST +}; /* button_context_quickscreen */ struct button_mapping* get_context_mapping( int context ) { @@ -131,7 +144,8 @@ struct button_mapping* get_context_mapping( int context ) /* else fall through to CUSTOM|1 */ case CONTEXT_CUSTOM|1: return button_context_tree; - + case CONTEXT_QUICKSCREEN: + return button_context_quickscreen; case CONTEXT_STD: case CONTEXT_LIST: case CONTEXT_MAINMENU: |