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.zip rockbox-5e5bfabf6731758302a8ec15dc4f93109bf91d84.tar.gz rockbox-5e5bfabf6731758302a8ec15dc4f93109bf91d84.tar.bz2 rockbox-5e5bfabf6731758302a8ec15dc4f93109bf91d84.tar.xz | |
* 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 2210bda..c73a9e4 100644 --- a/apps/action.h +++ b/apps/action.h @@ -46,6 +46,7 @@ enum { CONTEXT_YESNOSCREEN, /*NOTE: make sure your target has this and ACTION_YESNO_ACCEPT */ CONTEXT_BOOKMARKSCREEN, /*NOTE: requires the action_setting_* mappings also */ CONTEXT_QUICKSCREEN, /* uses ACTION_QS_ defines below */ + CONTEXT_PITCHSCREEN, /* uses ACTION_PS_ defines below */ }; @@ -82,18 +83,14 @@ enum { ACTION_WPS_STOP, ACTION_WPS_VOLDOWN, ACTION_WPS_VOLUP, - ACTION_WPS_NEXTDIR,/* optional */ - ACTION_WPS_PREVDIR,/* optional */ ACTION_WPS_PITCHSCREEN,/* optional */ ACTION_WPS_ID3SCREEN,/* optional */ ACTION_WPS_CONTEXT, ACTION_WPS_QUICKSCREEN,/* optional */ ACTION_WPS_MENU, /*this should be the same as ACTION_STD_MENU */ - /* following code are for AB mode in wps, - only needed if defined(AB_REPEAT_ENABLE) */ ACTION_WPSAB_SINGLE, /* No targets use this, but leave n just-in-case! */ - ACTION_WPSAB_SETA, /* either #define WPS_AB_SHARE_DIR_BUTTONS */ - ACTION_WPSAB_SETB, /* OR implement ACTION_WPSAB_SET[AB] */ + ACTION_WPS_ABSETA_PREVDIR, /* these should be safe to put together seen as */ + ACTION_WPS_ABSETB_NEXTDIR, /* you shouldnt want to change dir in ab-mode */ ACTION_WPSAB_RESET, /* list and tree page up/down */ @@ -134,6 +131,20 @@ enum { ACTION_QS_DOWN, ACTION_QS_DOWNINV, /* why is this not called up?? :p */ + /* pitchscreen */ + /* obviously ignore if you dont have thise screen */ + ACTION_PS_INC_SMALL, + ACTION_PS_INC_BIG, + ACTION_PS_DEC_SMALL, + ACTION_PS_DEC_BIG, + ACTION_PS_NUDGE_LEFT, + ACTION_PS_NUDGE_RIGHT, + ACTION_PS_NUDGE_LEFTOFF, + ACTION_PS_NUDGE_RIGHTOFF, + ACTION_PS_RESET, + ACTION_PS_EXIT, /* _STD_* isnt going to work here */ + + }; struct button_mapping { |