1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff --git a/apps/features.txt b/apps/features.txt
index ef866a9..c3ec904 100644
--- a/apps/features.txt
+++ b/apps/features.txt
@@ -247,3 +247,7 @@ touchscreen
 #if (PLUGIN_BUFFER_SIZE >= 0x80000)
 large_plugin_buffer
 #endif
+
+#if defined(AB_REPEAT_ENABLE) && !defined(ACTION_WPSAB_SINGLE)
+ab_repeat_buttons
+#endif
diff --git a/manual/configure_rockbox/playback_options.tex b/manual/configure_rockbox/playback_options.tex
index 7d9c8ba..727f8d3 100644
--- a/manual/configure_rockbox/playback_options.tex
+++ b/manual/configure_rockbox/playback_options.tex
@@ -37,8 +37,7 @@ you to configure settings related to audio playback.
     must first be placed into A-B repeat mode and then the start and end
     points defined.\\

-    \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IRIVER_H10_PAD,MROBE100_PAD%
-        ,GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{%
+    \opt{ab_repeat_buttons}{
         To set the Start Point (A) press \ActionWpsAbSetAPrevDir{}.
         Setting the End Point (B) is done accordingly using
         \ActionWpsAbSetBNextDir{}.  To reset the markers press \ActionWpsAbReset{}.
diff --git a/manual/rockbox_interface/wps.tex b/manual/rockbox_interface/wps.tex
index cdfde8d..a806348 100644
--- a/manual/rockbox_interface/wps.tex
+++ b/manual/rockbox_interface/wps.tex
@@ -144,8 +144,7 @@ your WPS (While Playing Screen).
         \ActionWpsHotkey \opt{HAVEREMOTEKEYMAP}{& }
         & Activate the \setting{Hotkey} function (see \reference{ref:Hotkeys}).\\
       }
-      \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IRIVER_H10_PAD,MROBE100_PAD%
-          ,GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{%
+      \opt{ab_repeat_buttons}{
          \ActionWpsAbSetBNextDir{} or }%
          % not all targets have the above action defined but the one below works on all
       Short \ActionWpsSkipNext{} + Long \ActionWpsSkipNext
@@ -155,8 +154,7 @@ your WPS (While Playing Screen).
         Short \ActionRCWpsSkipNext{} + Long \ActionRCWpsSkipNext}
       & Skip to the next directory.\\
       %
-      \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IRIVER_H10_PAD%
-         ,MROBE100_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{%
+      \opt{ab_repeat_buttons}{
          \ActionWpsAbSetAPrevDir{} or }%
       Short \ActionWpsSkipPrev{} + Long \ActionWpsSkipPrev
       \opt{HAVEREMOTEKEYMAP}{