diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:17:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:17:25 +0000 |
commit | 1e88be518adafe146704a506aad7f895fffbb240 (patch) | |
tree | 59de8c14bcec054d32b82890f73391301ad152aa /apps/gui/gwps.h | |
parent | 364e892050c5d03895d27ad290180f7a82d0ecbf (diff) |
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps.h')
-rw-r--r-- | apps/gui/gwps.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h index 3911ad1825..5b27696dd8 100644 --- a/apps/gui/gwps.h +++ b/apps/gui/gwps.h @@ -278,6 +278,29 @@ #define HAVE_DIR_NAVIGATION +#elif CONFIG_KEYPAD == IRIVER_H10_PAD + +/* TODO: Check WPS button assignments */ + +#define WPS_NEXT (BUTTON_FF | BUTTON_REL) +#define WPS_NEXT_PRE BUTTON_FF +#define WPS_PREV (BUTTON_REW | BUTTON_REL) +#define WPS_PREV_PRE BUTTON_REW +#define WPS_FFWD (BUTTON_FF | BUTTON_REPEAT) +#define WPS_REW (BUTTON_REW | BUTTON_REPEAT) +#define WPS_INCVOL BUTTON_SCROLL_UP +#define WPS_DECVOL BUTTON_SCROLL_DOWN +#define WPS_PAUSE BUTTON_PLAY +#define WPS_MENU (BUTTON_RIGHT | BUTTON_REL) +#define WPS_MENU_PRE BUTTON_RIGHT +#define WPS_BROWSE (BUTTON_LEFT | BUTTON_REL) +#define WPS_BROWSE_PRE BUTTON_LEFT +#define WPS_EXIT (BUTTON_PLAY | BUTTON_REPEAT) +#define WPS_CONTEXT (BUTTON_LEFT | BUTTON_REPEAT) +#define WPS_QUICK (BUTTON_RIGHT | BUTTON_REPEAT) + +#define HAVE_DIR_NAVIGATION + #endif /* constants used in line_type and as refresh_mode for wps_refresh */ |