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/plugins/wormlet.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/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 1ca570d24a..6a10fac984 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -47,15 +47,17 @@ PLUGIN_HEADER | |||
47 | #define BTN_DIR_RIGHT BUTTON_RIGHT | 47 | #define BTN_DIR_RIGHT BUTTON_RIGHT |
48 | #define BTN_PLAYER2_DIR1 BUTTON_F2 | 48 | #define BTN_PLAYER2_DIR1 BUTTON_F2 |
49 | #define BTN_PLAYER2_DIR2 BUTTON_F3 | 49 | #define BTN_PLAYER2_DIR2 BUTTON_F3 |
50 | #define BTN_RC_UP BUTTON_RC_VOL_UP | ||
51 | #define BTN_RC_DOWN BUTTON_RC_VOL_DOWN | ||
52 | #define BTN_STARTPAUSE BUTTON_PLAY | 50 | #define BTN_STARTPAUSE BUTTON_PLAY |
53 | #define BTN_QUIT BUTTON_OFF | 51 | #define BTN_QUIT BUTTON_OFF |
54 | #define BTN_STOPRESET BUTTON_ON | 52 | #define BTN_STOPRESET BUTTON_ON |
55 | #define BTN_TOGGLE_KEYS BUTTON_F1 | 53 | #define BTN_TOGGLE_KEYS BUTTON_F1 |
56 | 54 | ||
55 | #if BUTTON_REMOTE != 0 | ||
56 | #define BTN_RC_UP BUTTON_RC_VOL_UP | ||
57 | #define BTN_RC_DOWN BUTTON_RC_VOL_DOWN | ||
57 | #define REMOTE | 58 | #define REMOTE |
58 | #define MULTIPLAYER | 59 | #define MULTIPLAYER |
60 | #endif | ||
59 | 61 | ||
60 | #define PLAYERS_TEXT "UP/DN" | 62 | #define PLAYERS_TEXT "UP/DN" |
61 | #define WORMS_TEXT "L/R" | 63 | #define WORMS_TEXT "L/R" |