summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/list.h5
-rw-r--r--apps/gui/select.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 4f02693127..25fb07d7c4 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -78,6 +78,11 @@
78#define LIST_PREV BUTTON_UP 78#define LIST_PREV BUTTON_UP
79#define LIST_PGUP (BUTTON_ON | BUTTON_UP) 79#define LIST_PGUP (BUTTON_ON | BUTTON_UP)
80#define LIST_PGDN (BUTTON_ON | BUTTON_DOWN) 80#define LIST_PGDN (BUTTON_ON | BUTTON_DOWN)
81
82#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
83#define LIST_NEXT BUTTON_DOWN
84#define LIST_PREV BUTTON_UP
85
81#endif 86#endif
82 87
83/* 88/*
diff --git a/apps/gui/select.h b/apps/gui/select.h
index 3f6dd1413b..00c05c8d58 100644
--- a/apps/gui/select.h
+++ b/apps/gui/select.h
@@ -85,6 +85,14 @@
85#define SELECT_CANCEL BUTTON_OFF 85#define SELECT_CANCEL BUTTON_OFF
86#define SELECT_CANCEL2 BUTTON_MENU 86#define SELECT_CANCEL2 BUTTON_MENU
87 87
88#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
89#define SELECT_INC BUTTON_UP
90#define SELECT_DEC BUTTON_DOWN
91#define SELECT_OK BUTTON_MENU
92#define SELECT_OK2 BUTTON_LEFT
93#define SELECT_CANCEL BUTTON_PLAY
94#define SELECT_CANCEL2 BUTTON_POWER
95
88#endif 96#endif
89 97
90struct gui_select 98struct gui_select