diff options
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r-- | apps/plugins/brickmania.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 4983d5a417..3e7ea27441 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c | |||
@@ -111,8 +111,7 @@ | |||
111 | 111 | ||
112 | #elif CONFIG_KEYPAD == SANSA_C200_PAD || \ | 112 | #elif CONFIG_KEYPAD == SANSA_C200_PAD || \ |
113 | CONFIG_KEYPAD == SANSA_CLIP_PAD || \ | 113 | CONFIG_KEYPAD == SANSA_CLIP_PAD || \ |
114 | CONFIG_KEYPAD == SANSA_M200_PAD || \ | 114 | CONFIG_KEYPAD == SANSA_M200_PAD |
115 | CONFIG_KEYPAD == SANSA_CONNECT_PAD | ||
116 | #define QUIT BUTTON_POWER | 115 | #define QUIT BUTTON_POWER |
117 | #define LEFT BUTTON_LEFT | 116 | #define LEFT BUTTON_LEFT |
118 | #define RIGHT BUTTON_RIGHT | 117 | #define RIGHT BUTTON_RIGHT |
@@ -122,6 +121,18 @@ CONFIG_KEYPAD == SANSA_CONNECT_PAD | |||
122 | #define UP BUTTON_UP | 121 | #define UP BUTTON_UP |
123 | #define DOWN BUTTON_DOWN | 122 | #define DOWN BUTTON_DOWN |
124 | 123 | ||
124 | #elif CONFIG_KEYPAD == SANSA_CONNECT_PAD | ||
125 | #define QUIT BUTTON_POWER | ||
126 | #define LEFT BUTTON_LEFT | ||
127 | #define RIGHT BUTTON_RIGHT | ||
128 | #define SELECT BUTTON_SELECT | ||
129 | #define UP BUTTON_UP | ||
130 | #define DOWN BUTTON_DOWN | ||
131 | |||
132 | #define SCROLL_FWD(x) ((x) & BUTTON_SCROLL_FWD) | ||
133 | #define SCROLL_BACK(x) ((x) & BUTTON_SCROLL_BACK) | ||
134 | |||
135 | |||
125 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD | 136 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD |
126 | #define QUIT BUTTON_POWER | 137 | #define QUIT BUTTON_POWER |
127 | #define LEFT BUTTON_LEFT | 138 | #define LEFT BUTTON_LEFT |