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.tar.gz rockbox-44cbd337e9b77e521859865e806b3bedfe159746.zip |
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 ead87b87fe..45dde38844 100644 --- a/apps/keymaps/keymap-h10.c +++ b/apps/keymaps/keymap-h10.c | |||
@@ -71,6 +71,10 @@ const struct button_mapping button_context_wps[] = { | |||
71 | { ACTION_WPS_SEEKFWD, BUTTON_FF|BUTTON_REPEAT, BUTTON_NONE }, | 71 | { ACTION_WPS_SEEKFWD, BUTTON_FF|BUTTON_REPEAT, BUTTON_NONE }, |
72 | { ACTION_WPS_STOPSEEK, BUTTON_FF|BUTTON_REL, BUTTON_FF|BUTTON_REPEAT }, | 72 | { ACTION_WPS_STOPSEEK, BUTTON_FF|BUTTON_REL, BUTTON_FF|BUTTON_REPEAT }, |
73 | 73 | ||
74 | { ACTION_WPS_ABSETB_NEXTDIR, BUTTON_POWER|BUTTON_FF, BUTTON_POWER }, | ||
75 | { ACTION_WPS_ABSETA_PREVDIR, BUTTON_POWER|BUTTON_REW, BUTTON_POWER }, | ||
76 | { ACTION_WPSAB_RESET, BUTTON_POWER|BUTTON_PLAY, BUTTON_POWER }, | ||
77 | |||
74 | { ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN, BUTTON_NONE }, | 78 | { ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN, BUTTON_NONE }, |
75 | { ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN|BUTTON_REPEAT,BUTTON_NONE }, | 79 | { ACTION_WPS_VOLDOWN, BUTTON_SCROLL_DOWN|BUTTON_REPEAT,BUTTON_NONE }, |
76 | { ACTION_WPS_VOLUP, BUTTON_SCROLL_UP, BUTTON_NONE }, | 80 | { ACTION_WPS_VOLUP, BUTTON_SCROLL_UP, BUTTON_NONE }, |
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index d29bd6c22d..dbb7583304 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h | |||
@@ -70,6 +70,8 @@ | |||
70 | 70 | ||
71 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ | 71 | #define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ |
72 | 72 | ||
73 | #define AB_REPEAT_ENABLE 1 | ||
74 | |||
73 | #ifndef SIMULATOR | 75 | #ifndef SIMULATOR |
74 | 76 | ||
75 | /* Define this if you have a PortalPlayer PP5020 */ | 77 | /* 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 e40fdeab86..6fcc0f29f0 100644 --- a/firmware/export/config-h10_5gb.h +++ b/firmware/export/config-h10_5gb.h | |||
@@ -65,6 +65,8 @@ | |||
65 | 65 | ||
66 | #define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */ | 66 | #define BATTERY_CAPACITY_DEFAULT 820 /* default battery capacity */ |
67 | 67 | ||
68 | #define AB_REPEAT_ENABLE 1 | ||
69 | |||
68 | #ifndef SIMULATOR | 70 | #ifndef SIMULATOR |
69 | 71 | ||
70 | /* Define this if you have a PortalPlayer PP5020 */ | 72 | /* Define this if you have a PortalPlayer PP5020 */ |