diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-16 13:25:45 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-16 13:25:45 +0000 |
commit | 5e5bfabf6731758302a8ec15dc4f93109bf91d84 (patch) | |
tree | c539ebce3ac1aef9081201dcc52956704458216e /apps/keymaps/keymap-recorder.c | |
parent | 75765df6df134c718189125073806bfb4a1512b1 (diff) | |
download | rockbox-5e5bfabf6731758302a8ec15dc4f93109bf91d84.tar.gz rockbox-5e5bfabf6731758302a8ec15dc4f93109bf91d84.zip |
* fixed the pitch screen key mappings for all targets, targets require a
mapping to access the screen from the wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10611 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-recorder.c')
-rw-r--r-- | apps/keymaps/keymap-recorder.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index a28286936e..a0a0426d32 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c | |||
@@ -125,6 +125,21 @@ const struct button_mapping button_context_quickscreen[] = { | |||
125 | LAST_ITEM_IN_LIST | 125 | LAST_ITEM_IN_LIST |
126 | }; /* button_context_quickscreen */ | 126 | }; /* button_context_quickscreen */ |
127 | 127 | ||
128 | const struct button_mapping button_context_pitchscreen[] = { | ||
129 | { ACTION_PS_INC_SMALL, BUTTON_UP, BUTTON_NONE }, | ||
130 | { ACTION_PS_INC_BIG, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, | ||
131 | { ACTION_PS_DEC_SMALL, BUTTON_DOWN, BUTTON_NONE }, | ||
132 | { ACTION_PS_DEC_BIG, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_DOWN }, | ||
133 | { ACTION_PS_NUDGE_LEFT, BUTTON_LEFT, BUTTON_NONE }, | ||
134 | { ACTION_PS_NUDGE_LEFTOFF, BUTTON_LEFT|BUTTON_REL, BUTTON_NONE }, | ||
135 | { ACTION_PS_NUDGE_RIGHT, BUTTON_RIGHT, BUTTON_NONE }, | ||
136 | { ACTION_PS_NUDGE_RIGHTOFF, BUTTON_RIGHT|BUTTON_REL, BUTTON_NONE }, | ||
137 | { ACTION_PS_RESET, BUTTON_ON, BUTTON_NONE }, | ||
138 | { ACTION_PS_EXIT, BUTTON_OFF, BUTTON_NONE }, | ||
139 | |||
140 | LAST_ITEM_IN_LIST | ||
141 | }; /* button_context_pitchcreen */ | ||
142 | |||
128 | const struct button_mapping* get_context_mapping( int context ) | 143 | const struct button_mapping* get_context_mapping( int context ) |
129 | { | 144 | { |
130 | switch( context ) | 145 | switch( context ) |
@@ -137,6 +152,8 @@ const struct button_mapping* get_context_mapping( int context ) | |||
137 | 152 | ||
138 | case CONTEXT_YESNOSCREEN: | 153 | case CONTEXT_YESNOSCREEN: |
139 | return button_context_yesno; | 154 | return button_context_yesno; |
155 | case CONTEXT_PITCHSCREEN: | ||
156 | return button_context_pitchscreen; | ||
140 | 157 | ||
141 | case CONTEXT_TREE: | 158 | case CONTEXT_TREE: |
142 | if (global_settings.hold_lr_for_scroll_in_list) | 159 | if (global_settings.hold_lr_for_scroll_in_list) |