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.h6
1 files changed, 5 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 1c94b76cdc..ce5ffe464a 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/button-target.h
@@ -24,7 +24,7 @@
24#include <stdbool.h> 24#include <stdbool.h>
25bool button_debug_screen(void); 25bool button_debug_screen(void);
26void touchpad_set_sensitivity(int level); 26void touchpad_set_sensitivity(int level);
27void touchdev_enable(bool en); 27void touchpad_enable_device(bool en);
28 28
29/* Main unit's buttons */ 29/* Main unit's buttons */
30#define BUTTON_POWER 0x00000001 30#define BUTTON_POWER 0x00000001
@@ -47,6 +47,10 @@ void touchdev_enable(bool en);
47 BUTTON_PLAYPAUSE|BUTTON_BACK| \ 47 BUTTON_PLAYPAUSE|BUTTON_BACK| \
48 BUTTON_BOTTOMRIGHT|BUTTON_BOTTOMLEFT) 48 BUTTON_BOTTOMRIGHT|BUTTON_BOTTOMLEFT)
49 49
50#define BUTTON_TOUCHPAD (BUTTON_LEFT|BUTTON_UP|BUTTON_RIGHT|BUTTON_DOWN| \
51 BUTTON_SELECT|BUTTON_PLAYPAUSE|BUTTON_BACK| \
52 BUTTON_BOTTOMRIGHT|BUTTON_BOTTOMLEFT)
53
50/* Software power-off */ 54/* Software power-off */
51#define POWEROFF_BUTTON BUTTON_POWER 55#define POWEROFF_BUTTON BUTTON_POWER
52#define POWEROFF_COUNT 10 56#define POWEROFF_COUNT 10