summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-10-14 12:16:29 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-10-14 12:16:29 +0000
commit8aed608bb1b4f1952f4d6c57cbd8d1a1e18d0067 (patch)
treea411d0fd08e130d4bf8ef0bb814c404b66b3f38a /firmware
parentd282e14d3328020679011983d6ad243a0295dda4 (diff)
Untested first attempt at a Sansa button driver. Based on work by MrH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11220 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-target.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-target.h b/firmware/target/arm/sandisk/sansa-e200/button-target.h
index 6ddf466452..ddc86a01fc 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-target.h
+++ b/firmware/target/arm/sandisk/sansa-e200/button-target.h
@@ -33,15 +33,15 @@ int button_read_device(void);
/* Main unit's buttons */
#define BUTTON_REC 0x00000001
-#define BUTTON_STOP 0x00000002
+#define BUTTON_DOWN 0x00000002
#define BUTTON_RIGHT 0x00000004
#define BUTTON_LEFT 0x00000008
#define BUTTON_SELECT 0x00000010
-#define BUTTON_PLAY 0x00000020
+#define BUTTON_UP 0x00000020
#define BUTTON_POWER 0x00000040
-#define BUTTON_UP 0x00000080
-#define BUTTON_DOWN 0x00000100
+#define BUTTON_SCROLL_UP 0x00000080
+#define BUTTON_SCROLL_DOWN 0x00000100
#define BUTTON_MAIN 0x00000fff