diff options
Diffstat (limited to 'apps/keymaps')
-rw-r--r-- | apps/keymaps/keymap-recorder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index cc09b90bfd..c51bde9a4b 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c | |||
@@ -215,6 +215,7 @@ const struct button_mapping button_context_radio[] = { | |||
215 | 215 | ||
216 | }; | 216 | }; |
217 | 217 | ||
218 | #if BUTTON_REMOTE != 0 | ||
218 | /***************************************************************************** | 219 | /***************************************************************************** |
219 | * Remote control mappings | 220 | * Remote control mappings |
220 | *****************************************************************************/ | 221 | *****************************************************************************/ |
@@ -254,11 +255,14 @@ static const struct button_mapping* get_context_mapping_remote( int context ) | |||
254 | return remote_button_context_standard; | 255 | return remote_button_context_standard; |
255 | } | 256 | } |
256 | } | 257 | } |
258 | #endif /* BUTTON_REMOTE != 0 */ | ||
257 | 259 | ||
258 | const struct button_mapping* get_context_mapping( int context ) | 260 | const struct button_mapping* get_context_mapping( int context ) |
259 | { | 261 | { |
262 | #if BUTTON_REMOTE != 0 | ||
260 | if (context&CONTEXT_REMOTE) | 263 | if (context&CONTEXT_REMOTE) |
261 | return get_context_mapping_remote(context); | 264 | return get_context_mapping_remote(context); |
265 | #endif | ||
262 | 266 | ||
263 | switch( context ) | 267 | switch( context ) |
264 | { | 268 | { |