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/plugins/flipit.c | |
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/plugins/flipit.c')
-rw-r--r-- | apps/plugins/flipit.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index f1fba878e3..13efac18a1 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c | |||
@@ -63,6 +63,17 @@ PLUGIN_HEADER | |||
63 | #define FLIPIT_TOGGLE_PRE BUTTON_SELECT | 63 | #define FLIPIT_TOGGLE_PRE BUTTON_SELECT |
64 | #define FLIPIT_TOGGLE (BUTTON_SELECT | BUTTON_REL) | 64 | #define FLIPIT_TOGGLE (BUTTON_SELECT | BUTTON_REL) |
65 | 65 | ||
66 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
67 | |||
68 | #define FLIPIT_UP BUTTON_UP | ||
69 | #define FLIPIT_DOWN BUTTON_DOWN | ||
70 | #define FLIPIT_QUIT BUTTON_POWER | ||
71 | #define FLIPIT_SHUFFLE (BUTTON_PLAY | BUTTON_LEFT) | ||
72 | #define FLIPIT_SOLVE (BUTTON_PLAY | BUTTON_RIGHT) | ||
73 | #define FLIPIT_STEP_BY_STEP (BUTTON_PLAY | BUTTON_UP) | ||
74 | #define FLIPIT_TOGGLE_PRE BUTTON_MENU | ||
75 | #define FLIPIT_TOGGLE (BUTTON_MENU | BUTTON_REL) | ||
76 | |||
66 | #endif | 77 | #endif |
67 | 78 | ||
68 | static struct plugin_api* rb; | 79 | static struct plugin_api* rb; |