diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2006-10-14 12:16:29 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2006-10-14 12:16:29 +0000 |
commit | 8aed608bb1b4f1952f4d6c57cbd8d1a1e18d0067 (patch) | |
tree | a411d0fd08e130d4bf8ef0bb814c404b66b3f38a | |
parent | d282e14d3328020679011983d6ad243a0295dda4 (diff) | |
download | rockbox-8aed608bb1b4f1952f4d6c57cbd8d1a1e18d0067.tar.gz rockbox-8aed608bb1b4f1952f4d6c57cbd8d1a1e18d0067.zip |
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
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/button-target.h | 8 |
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); | |||
33 | 33 | ||
34 | /* Main unit's buttons */ | 34 | /* Main unit's buttons */ |
35 | #define BUTTON_REC 0x00000001 | 35 | #define BUTTON_REC 0x00000001 |
36 | #define BUTTON_STOP 0x00000002 | 36 | #define BUTTON_DOWN 0x00000002 |
37 | #define BUTTON_RIGHT 0x00000004 | 37 | #define BUTTON_RIGHT 0x00000004 |
38 | #define BUTTON_LEFT 0x00000008 | 38 | #define BUTTON_LEFT 0x00000008 |
39 | #define BUTTON_SELECT 0x00000010 | 39 | #define BUTTON_SELECT 0x00000010 |
40 | #define BUTTON_PLAY 0x00000020 | 40 | #define BUTTON_UP 0x00000020 |
41 | #define BUTTON_POWER 0x00000040 | 41 | #define BUTTON_POWER 0x00000040 |
42 | 42 | ||
43 | #define BUTTON_UP 0x00000080 | 43 | #define BUTTON_SCROLL_UP 0x00000080 |
44 | #define BUTTON_DOWN 0x00000100 | 44 | #define BUTTON_SCROLL_DOWN 0x00000100 |
45 | 45 | ||
46 | #define BUTTON_MAIN 0x00000fff | 46 | #define BUTTON_MAIN 0x00000fff |
47 | 47 | ||