summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index b898e14f37..f0a6d3f32c 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -33,8 +33,8 @@
#define LIST_PREV BUTTON_UP
#define LIST_PGUP (BUTTON_ON | BUTTON_UP)
#define LIST_PGDN (BUTTON_ON | BUTTON_DOWN)
-#define LIST_PGRIGHT (BUTTON_ON | BUTTON_RIGHT)
-#define LIST_PGLEFT (BUTTON_ON | BUTTON_LEFT)
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#ifdef CONFIG_REMOTE_KEYPAD
#define LIST_RC_NEXT BUTTON_RC_FF
@@ -50,8 +50,8 @@
#define LIST_PREV BUTTON_UP
#define LIST_PGUP (BUTTON_ON | BUTTON_UP)
#define LIST_PGDN (BUTTON_ON | BUTTON_DOWN)
-#define LIST_PGRIGHT (BUTTON_ON | BUTTON_RIGHT)
-#define LIST_PGLEFT (BUTTON_ON | BUTTON_LEFT)
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#define LIST_RC_NEXT BUTTON_RC_RIGHT
#define LIST_RC_PREV BUTTON_RC_LEFT
@@ -72,30 +72,40 @@
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
#define LIST_NEXT BUTTON_SCROLL_FWD
#define LIST_PREV BUTTON_SCROLL_BACK
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
#define LIST_NEXT BUTTON_DOWN
#define LIST_PREV BUTTON_UP
+//#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_)
+//#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_) Todo: define those
#elif CONFIG_KEYPAD == GMINI100_PAD
#define LIST_NEXT BUTTON_DOWN
#define LIST_PREV BUTTON_UP
#define LIST_PGUP (BUTTON_ON | BUTTON_UP)
#define LIST_PGDN (BUTTON_ON | BUTTON_DOWN)
-#define LIST_PGRIGHT (BUTTON_ON | BUTTON_RIGHT)
-#define LIST_PGLEFT (BUTTON_ON | BUTTON_LEFT)
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
#define LIST_NEXT BUTTON_DOWN
#define LIST_PREV BUTTON_UP
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#elif CONFIG_KEYPAD == GIGABEAT_PAD
#define LIST_NEXT BUTTON_DOWN
#define LIST_PREV BUTTON_UP
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
#define LIST_NEXT BUTTON_SCROLL_DOWN
#define LIST_PREV BUTTON_SCROLL_UP
+#define LIST_PGRIGHT (BUTTON_RIGHT | BUTTON_REPEAT)
+#define LIST_PGLEFT (BUTTON_LEFT | BUTTON_REPEAT)
#endif