summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/button-target.h')
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/button-target.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h b/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h
index f22c06882f..d68bc9eda4 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h
@@ -32,8 +32,18 @@ void button_debug_screen(void);
32#define BUTTON_POWER 0x00000001 32#define BUTTON_POWER 0x00000001
33#define BUTTON_VOL_UP 0x00000002 33#define BUTTON_VOL_UP 0x00000002
34#define BUTTON_VOL_DOWN 0x00000004 34#define BUTTON_VOL_DOWN 0x00000004
35/* Virtual buttons */
36#define BUTTON_LEFT 0x00000008
37#define BUTTON_UP 0x00000010
38#define BUTTON_RIGHT 0x00000020
39#define BUTTON_DOWN 0x00000040
40#define BUTTON_SELECT 0x00000080
41#define BUTTON_PLAYPAUSE 0x00000100
42#define BUTTON_BACK 0x00000200
35 43
36#define BUTTON_MAIN (BUTTON_VOL_UP|BUTTON_VOL_DOWN|BUTTON_POWER) 44#define BUTTON_MAIN (BUTTON_VOL_UP|BUTTON_VOL_DOWN|BUTTON_POWER|BUTTON_LEFT| \
45 BUTTON_UP|BUTTON_RIGHT|BUTTON_DOWN|BUTTON_SELECT| \
46 BUTTON_PLAYPAUSE|BUTTON_BACK)
37 47
38#define BUTTON_REMOTE 0 48#define BUTTON_REMOTE 0
39 49