diff options
| author | Barry Wardell <rockbox@barrywardell.net> | 2006-10-16 18:11:56 +0000 |
|---|---|---|
| committer | Barry Wardell <rockbox@barrywardell.net> | 2006-10-16 18:11:56 +0000 |
| commit | 44cbd337e9b77e521859865e806b3bedfe159746 (patch) | |
| tree | e0439f9641df40b8b937fe4882c57d1b8ed1d1b6 | |
| parent | d8ef7c58d83591bb0660fc4965cf2319fb5a4718 (diff) | |
| download | rockbox-44cbd337e9b77e521859865e806b3bedfe159746.zip rockbox-44cbd337e9b77e521859865e806b3bedfe159746.tar.gz rockbox-44cbd337e9b77e521859865e806b3bedfe159746.tar.bz2 rockbox-44cbd337e9b77e521859865e806b3bedfe159746.tar.xz | |
Add keymap for A-B repeat on H10 and enable support for it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11238 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/keymaps/keymap-h10.c | 4 | ||||
| -rw-r--r-- | firmware/export/config-h10.h | 2 | ||||
| -rw-r--r-- | firmware/export/config-h10_5gb.h | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-h10.c b/apps/keymaps/keymap-h10.c index ead87b8..45dde38 100644 --- a/apps/keymaps/keymap-h10.c +++ b/apps/keymaps/keymap-h10.c @@ -71,6 +71,10 @@ const struct button_mapping button_context_wps[] = { { ACTION_WPS_SEEKFWD, BUTTON_FF|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_WPS_STOPSEEK, BUTTON_FF|BUTTON_REL, BUTTON_FF|BUTTON_REPEAT }, + { ACTION_WPS_ABSETB_NEXTDIR, BUTTON_POWER|BUTTON_FF, BUTTON_POWER }, + { ACTION_WPS_ABSETA_PREVDIR, BUTTON_POWER|BUTTON_REW, BUTTON_POWER }, + { ACTION_WPSAB_RESET, BUTTON_POWER|BUTTON_PLAY, BUTTON_POWER }, + { ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN, BUTTON_NONE }, { ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN|BUTTON_REPEAT,BUTTON_NONE }, { ACTION_WPS_VOLUP, BUTTON_SCROLL_UP, BUTTON_NONE }, diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index d29bd6c..dbb7583 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h @@ -70,6 +70,8 @@ #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ +#define AB_REPEAT_ENABLE 1 + #ifndef SIMULATOR /* Define this if you have a PortalPlayer PP5020 */ diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h index e40fdea..6fcc0f2 100644 --- a/firmware/export/config-h10_5gb.h +++ b/firmware/export/config-h10_5gb.h @@ -65,6 +65,8 @@ #define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */ +#define AB_REPEAT_ENABLE 1 + #ifndef SIMULATOR /* Define this if you have a PortalPlayer PP5020 */ |