diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/keymaps/keymap-mpio-hd200.c | 6 | ||||
-rw-r--r-- | apps/radio/radio.c | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-mpio-hd200.c b/apps/keymaps/keymap-mpio-hd200.c index 908a0e8f74..e3ad175010 100644 --- a/apps/keymaps/keymap-mpio-hd200.c +++ b/apps/keymaps/keymap-mpio-hd200.c | |||
@@ -150,10 +150,10 @@ static const struct button_mapping button_context_pitchscreen[] = { | |||
150 | static const struct button_mapping button_context_radio[] = { | 150 | static const struct button_mapping button_context_radio[] = { |
151 | { ACTION_FM_MENU, BUTTON_FUNC|BUTTON_REPEAT, BUTTON_NONE }, | 151 | { ACTION_FM_MENU, BUTTON_FUNC|BUTTON_REPEAT, BUTTON_NONE }, |
152 | { ACTION_FM_PRESET, BUTTON_FUNC|BUTTON_REL, BUTTON_FUNC }, | 152 | { ACTION_FM_PRESET, BUTTON_FUNC|BUTTON_REL, BUTTON_FUNC }, |
153 | /* { ACTION_FM_RECORD, BUTTON_, BUTTON_ }, */ | 153 | /* { ACTION_FM_RECORD, BUTTON_, BUTTON_ }, */ |
154 | /* { ACTION_FM_FREEZE, BUTTON_, BUTTON_ }, */ | 154 | /* { ACTION_FM_FREEZE, BUTTON_, BUTTON_ }, */ |
155 | { ACTION_FM_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, | 155 | { ACTION_FM_STOP, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE }, |
156 | { ACTION_FM_MODE, BUTTON_FUNC, BUTTON_NONE }, | 156 | { ACTION_FM_MODE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, |
157 | { ACTION_FM_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_REC }, | 157 | { ACTION_FM_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_REC }, |
158 | { ACTION_FM_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, | 158 | { ACTION_FM_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, |
159 | /* { ACTION_FM_RECORD_DBLPRE, BUTTON_, BUTTON_ }, */ | 159 | /* { ACTION_FM_RECORD_DBLPRE, BUTTON_, BUTTON_ }, */ |
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 5fe1fabef0..7cc676b9a4 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c | |||
@@ -134,6 +134,14 @@ | |||
134 | #define FM_PLAY | 134 | #define FM_PLAY |
135 | #define FM_MODE | 135 | #define FM_MODE |
136 | 136 | ||
137 | #elif (CONFIG_KEYPAD == MPIO_HD200_PAD) | ||
138 | #define FM_MENU | ||
139 | #define FM_STOP | ||
140 | #define FM_EXIT | ||
141 | #define FM_PLAY | ||
142 | #define FM_MODE | ||
143 | #define FM_STOP | ||
144 | |||
137 | #endif | 145 | #endif |
138 | 146 | ||
139 | /* presets.c needs these so keep unstatic or redo the whole thing! */ | 147 | /* presets.c needs these so keep unstatic or redo the whole thing! */ |