diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-11-27 02:16:32 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-11-27 02:16:32 +0000 |
commit | 0e6dd7efcd21d48665b5a799fe081a75cdcb960f (patch) | |
tree | 9c0db844416a114adebb725f6172e38009b317f8 /apps/keymaps/keymap-recorder.c | |
parent | e43f56b58d8540492d83b44abfdf4c758b0e74bf (diff) | |
download | rockbox-0e6dd7efcd21d48665b5a799fe081a75cdcb960f.tar.gz rockbox-0e6dd7efcd21d48665b5a799fe081a75cdcb960f.zip |
Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-recorder.c')
-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[] = { }; +#if BUTTON_REMOTE != 0 /***************************************************************************** * Remote control mappings *****************************************************************************/ @@ -254,11 +255,14 @@ static const struct button_mapping* get_context_mapping_remote( int context ) return remote_button_context_standard; } } +#endif /* BUTTON_REMOTE != 0 */ const struct button_mapping* get_context_mapping( int context ) { +#if BUTTON_REMOTE != 0 if (context&CONTEXT_REMOTE) return get_context_mapping_remote(context); +#endif switch( context ) { |