summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/keymaps/keymap-h10.c4
-rw-r--r--firmware/export/config-h10.h2
-rw-r--r--firmware/export/config-h10_5gb.h2
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 */