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/action.h | |
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/action.h')
-rw-r--r-- | apps/action.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/apps/action.h b/apps/action.h index 2210bda176..c73a9e4867 100644 --- a/apps/action.h +++ b/apps/action.h | |||
@@ -46,6 +46,7 @@ enum { | |||
46 | CONTEXT_YESNOSCREEN, /*NOTE: make sure your target has this and ACTION_YESNO_ACCEPT */ | 46 | CONTEXT_YESNOSCREEN, /*NOTE: make sure your target has this and ACTION_YESNO_ACCEPT */ |
47 | CONTEXT_BOOKMARKSCREEN, /*NOTE: requires the action_setting_* mappings also */ | 47 | CONTEXT_BOOKMARKSCREEN, /*NOTE: requires the action_setting_* mappings also */ |
48 | CONTEXT_QUICKSCREEN, /* uses ACTION_QS_ defines below */ | 48 | CONTEXT_QUICKSCREEN, /* uses ACTION_QS_ defines below */ |
49 | CONTEXT_PITCHSCREEN, /* uses ACTION_PS_ defines below */ | ||
49 | }; | 50 | }; |
50 | 51 | ||
51 | 52 | ||
@@ -82,18 +83,14 @@ enum { | |||
82 | ACTION_WPS_STOP, | 83 | ACTION_WPS_STOP, |
83 | ACTION_WPS_VOLDOWN, | 84 | ACTION_WPS_VOLDOWN, |
84 | ACTION_WPS_VOLUP, | 85 | ACTION_WPS_VOLUP, |
85 | ACTION_WPS_NEXTDIR,/* optional */ | ||
86 | ACTION_WPS_PREVDIR,/* optional */ | ||
87 | ACTION_WPS_PITCHSCREEN,/* optional */ | 86 | ACTION_WPS_PITCHSCREEN,/* optional */ |
88 | ACTION_WPS_ID3SCREEN,/* optional */ | 87 | ACTION_WPS_ID3SCREEN,/* optional */ |
89 | ACTION_WPS_CONTEXT, | 88 | ACTION_WPS_CONTEXT, |
90 | ACTION_WPS_QUICKSCREEN,/* optional */ | 89 | ACTION_WPS_QUICKSCREEN,/* optional */ |
91 | ACTION_WPS_MENU, /*this should be the same as ACTION_STD_MENU */ | 90 | ACTION_WPS_MENU, /*this should be the same as ACTION_STD_MENU */ |
92 | /* following code are for AB mode in wps, | ||
93 | only needed if defined(AB_REPEAT_ENABLE) */ | ||
94 | ACTION_WPSAB_SINGLE, /* No targets use this, but leave n just-in-case! */ | 91 | ACTION_WPSAB_SINGLE, /* No targets use this, but leave n just-in-case! */ |
95 | ACTION_WPSAB_SETA, /* either #define WPS_AB_SHARE_DIR_BUTTONS */ | 92 | ACTION_WPS_ABSETA_PREVDIR, /* these should be safe to put together seen as */ |
96 | ACTION_WPSAB_SETB, /* OR implement ACTION_WPSAB_SET[AB] */ | 93 | ACTION_WPS_ABSETB_NEXTDIR, /* you shouldnt want to change dir in ab-mode */ |
97 | ACTION_WPSAB_RESET, | 94 | ACTION_WPSAB_RESET, |
98 | 95 | ||
99 | /* list and tree page up/down */ | 96 | /* list and tree page up/down */ |
@@ -134,6 +131,20 @@ enum { | |||
134 | ACTION_QS_DOWN, | 131 | ACTION_QS_DOWN, |
135 | ACTION_QS_DOWNINV, /* why is this not called up?? :p */ | 132 | ACTION_QS_DOWNINV, /* why is this not called up?? :p */ |
136 | 133 | ||
134 | /* pitchscreen */ | ||
135 | /* obviously ignore if you dont have thise screen */ | ||
136 | ACTION_PS_INC_SMALL, | ||
137 | ACTION_PS_INC_BIG, | ||
138 | ACTION_PS_DEC_SMALL, | ||
139 | ACTION_PS_DEC_BIG, | ||
140 | ACTION_PS_NUDGE_LEFT, | ||
141 | ACTION_PS_NUDGE_RIGHT, | ||
142 | ACTION_PS_NUDGE_LEFTOFF, | ||
143 | ACTION_PS_NUDGE_RIGHTOFF, | ||
144 | ACTION_PS_RESET, | ||
145 | ACTION_PS_EXIT, /* _STD_* isnt going to work here */ | ||
146 | |||
147 | |||
137 | }; | 148 | }; |
138 | 149 | ||
139 | struct button_mapping { | 150 | struct button_mapping { |