diff options
Diffstat (limited to 'apps/tree.h')
-rw-r--r-- | apps/tree.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/tree.h b/apps/tree.h index ad4a4a91aa..7a9958ca0d 100644 --- a/apps/tree.h +++ b/apps/tree.h | |||
@@ -164,6 +164,21 @@ | |||
164 | #define TREE_WPS_PRE BUTTON_SELECT | 164 | #define TREE_WPS_PRE BUTTON_SELECT |
165 | #define TREE_CONTEXT (BUTTON_RIGHT | BUTTON_REPEAT) | 165 | #define TREE_CONTEXT (BUTTON_RIGHT | BUTTON_REPEAT) |
166 | #define TREE_POWER_BTN (BUTTON_PLAY | BUTTON_REPEAT) | 166 | #define TREE_POWER_BTN (BUTTON_PLAY | BUTTON_REPEAT) |
167 | |||
168 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD | ||
169 | |||
170 | #define TREE_NEXT BUTTON_DOWN | ||
171 | #define TREE_PREV BUTTON_UP | ||
172 | #define TREE_EXIT BUTTON_LEFT | ||
173 | #define TREE_ABORT BUTTON_PLAY | ||
174 | #define TREE_RUN (BUTTON_RIGHT | BUTTON_REL) | ||
175 | #define TREE_RUN_PRE BUTTON_RIGHT | ||
176 | #define TREE_MENU (BUTTON_MENU | BUTTON_REPEAT) | ||
177 | #define TREE_MENU_PRE BUTTON_MENU | ||
178 | #define TREE_WPS (BUTTON_MENU | BUTTON_REL) | ||
179 | #define TREE_WPS_PRE BUTTON_MENU | ||
180 | #define TREE_CONTEXT (BUTTON_RIGHT | BUTTON_REPEAT) | ||
181 | #define TREE_POWER_BTN (BUTTON_PLAY | BUTTON_REPEAT) | ||
167 | #endif | 182 | #endif |
168 | 183 | ||
169 | struct entry { | 184 | struct entry { |