diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/tree.h | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
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 { |