diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-11 13:13:36 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-11 13:13:36 +0000 |
commit | f48ec1f7fca7b0e12cbcbe4de3dbe21ed5a2edfa (patch) | |
tree | 4a7092ef334ba0454efcac931abad19bc5b13e8f /firmware/export/button.h | |
parent | dd52043cac5659810d6a9c0e7fc1fe7396398a9e (diff) |
iRiver: Support for remote control buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r-- | firmware/export/button.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index e978f9d426..5b76e50b56 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -66,7 +66,15 @@ bool button_hold(void); #define BUTTON_UP 0x0010 #define BUTTON_DOWN 0x0020 -#define BUTTON_RC_ON (BUTTON_REMOTE | BUTTON_ON) +#define BUTTON_RC_ON (BUTTON_REMOTE | 0x00010000) +#define BUTTON_RC_STOP (BUTTON_REMOTE | 0x00020000) +#define BUTTON_RC_VOL (BUTTON_REMOTE | 0x00040000) +#define BUTTON_RC_BITRATE (BUTTON_REMOTE | 0x00200000) +#define BUTTON_RC_REC (BUTTON_REMOTE | 0x00400000) +#define BUTTON_RC_SOURCE (BUTTON_REMOTE | 0x00800000) +#define BUTTON_RC_MENU (BUTTON_REMOTE | 0x01000000) +#define BUTTON_RC_FF (BUTTON_REMOTE | 0x02000000) +#define BUTTON_RC_REW (BUTTON_REMOTE | 0x04000000) #elif CONFIG_KEYPAD == RECORDER_PAD |