summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sansa-clip/button-target.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-10-31 18:54:37 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-10-31 18:54:37 +0000
commitcd9b1379fff9b2c2d4bb071c470053e02f4e2dd5 (patch)
tree2ec0fe5c5b1e66962fbbe4d21cb4d0ce0c9543e1 /firmware/target/arm/as3525/sansa-clip/button-target.h
parentc5685ed72d206c5a1c0dd2329029e2398bf9cac4 (diff)
downloadrockbox-cd9b1379fff9b2c2d4bb071c470053e02f4e2dd5.tar.gz
rockbox-cd9b1379fff9b2c2d4bb071c470053e02f4e2dd5.tar.bz2
rockbox-cd9b1379fff9b2c2d4bb071c470053e02f4e2dd5.zip
Sansa Clip simulator
First draft at keymapping based on e200 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip/button-target.h')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/button-target.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/button-target.h b/firmware/target/arm/as3525/sansa-clip/button-target.h
index 1fb57ae9e9..d44ac58a71 100644
--- a/firmware/target/arm/as3525/sansa-clip/button-target.h
+++ b/firmware/target/arm/as3525/sansa-clip/button-target.h
@@ -34,10 +34,10 @@ bool button_hold(void);
/* Main unit's buttons */
#define BUTTON_HOME 0x00000001
-#define BUTTON_VOLUP 0x00000002
-#define BUTTON_VOLDOWN 0x00000004
+#define BUTTON_VOL_UP 0x00000002
+#define BUTTON_VOL_DOWN 0x00000004
-#define BUTTON_PLAY 0x00000008
+#define BUTTON_UP 0x00000008
#define BUTTON_DOWN 0x00000010
#define BUTTON_LEFT 0x00000020
#define BUTTON_RIGHT 0x00000040
@@ -48,7 +48,7 @@ bool button_hold(void);
#define BUTTON_HOLD 0x00000200
#define BUTTON_MAIN (BUTTON_HOME|BUTTON_VOLUP|BUTTON_VOLDOWN\
- |BUTTON_PLAY|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\
+ |BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\
|BUTTON_SELECT|BUTTON_POWER|BUTTON_HOLD)
#define BUTTON_REMOTE 0