summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x/iaudio7/button-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc77x/iaudio7/button-target.h')
-rw-r--r--firmware/target/arm/tcc77x/iaudio7/button-target.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/target/arm/tcc77x/iaudio7/button-target.h b/firmware/target/arm/tcc77x/iaudio7/button-target.h
index fafaf4a303..9d232d9ae8 100644
--- a/firmware/target/arm/tcc77x/iaudio7/button-target.h
+++ b/firmware/target/arm/tcc77x/iaudio7/button-target.h
@@ -21,15 +21,8 @@
21#ifndef _IAUDIO7_BUTTON_TARGET_H_ 21#ifndef _IAUDIO7_BUTTON_TARGET_H_
22#define _IAUDIO7_BUTTON_TARGET_H_ 22#define _IAUDIO7_BUTTON_TARGET_H_
23 23
24#include <stdbool.h>
25#include "config.h"
26
27#define HAS_BUTTON_HOLD 24#define HAS_BUTTON_HOLD
28 25
29bool button_hold(void);
30void button_init_device(void);
31int button_read_device(void);
32
33/* Main unit's buttons */ 26/* Main unit's buttons */
34#define BUTTON_POWER 0x00000001 27#define BUTTON_POWER 0x00000001
35#define BUTTON_VOLUP 0x00000002 28#define BUTTON_VOLUP 0x00000002
@@ -47,9 +40,6 @@ int button_read_device(void);
47 BUTTON_MENU|BUTTON_LEFT|BUTTON_RIGHT| \ 40 BUTTON_MENU|BUTTON_LEFT|BUTTON_RIGHT| \
48 BUTTON_PLAY|BUTTON_STOP) 41 BUTTON_PLAY|BUTTON_STOP)
49 42
50/* No remote */
51#define BUTTON_REMOTE 0
52
53/* Software power-off */ 43/* Software power-off */
54#define POWEROFF_BUTTON BUTTON_POWER 44#define POWEROFF_BUTTON BUTTON_POWER
55#define POWEROFF_COUNT 10 45#define POWEROFF_COUNT 10