summaryrefslogtreecommitdiff
path: root/firmware/export/button.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-02-11 13:13:36 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-02-11 13:13:36 +0000
commitf48ec1f7fca7b0e12cbcbe4de3dbe21ed5a2edfa (patch)
tree4a7092ef334ba0454efcac931abad19bc5b13e8f /firmware/export/button.h
parentdd52043cac5659810d6a9c0e7fc1fe7396398a9e (diff)
downloadrockbox-f48ec1f7fca7b0e12cbcbe4de3dbe21ed5a2edfa.tar.gz
rockbox-f48ec1f7fca7b0e12cbcbe4de3dbe21ed5a2edfa.zip
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.h10
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);
66#define BUTTON_UP 0x0010 66#define BUTTON_UP 0x0010
67#define BUTTON_DOWN 0x0020 67#define BUTTON_DOWN 0x0020
68 68
69#define BUTTON_RC_ON (BUTTON_REMOTE | BUTTON_ON) 69#define BUTTON_RC_ON (BUTTON_REMOTE | 0x00010000)
70#define BUTTON_RC_STOP (BUTTON_REMOTE | 0x00020000)
71#define BUTTON_RC_VOL (BUTTON_REMOTE | 0x00040000)
72#define BUTTON_RC_BITRATE (BUTTON_REMOTE | 0x00200000)
73#define BUTTON_RC_REC (BUTTON_REMOTE | 0x00400000)
74#define BUTTON_RC_SOURCE (BUTTON_REMOTE | 0x00800000)
75#define BUTTON_RC_MENU (BUTTON_REMOTE | 0x01000000)
76#define BUTTON_RC_FF (BUTTON_REMOTE | 0x02000000)
77#define BUTTON_RC_REW (BUTTON_REMOTE | 0x04000000)
70 78
71#elif CONFIG_KEYPAD == RECORDER_PAD 79#elif CONFIG_KEYPAD == RECORDER_PAD
72 80