summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ypr0/button-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/ypr0/button-target.h')
-rw-r--r--firmware/target/hosted/ypr0/button-target.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/target/hosted/ypr0/button-target.h b/firmware/target/hosted/ypr0/button-target.h
index beddc66c67..d7b95de785 100644
--- a/firmware/target/hosted/ypr0/button-target.h
+++ b/firmware/target/hosted/ypr0/button-target.h
@@ -22,14 +22,7 @@
22#ifndef _BUTTON_TARGET_H_ 22#ifndef _BUTTON_TARGET_H_
23#define _BUTTON_TARGET_H_ 23#define _BUTTON_TARGET_H_
24 24
25#include <stdbool.h>
26#include "config.h"
27
28bool headphones_inserted(void);
29
30void button_init_device(void);
31void button_close_device(void); 25void button_close_device(void);
32int button_read_device(void);
33 26
34/* Logical buttons key codes */ 27/* Logical buttons key codes */
35#define BUTTON_UP 0x00000001 28#define BUTTON_UP 0x00000001
@@ -44,9 +37,6 @@ int button_read_device(void);
44 37
45#define BUTTON_MAIN 0x1FF /* all buttons */ 38#define BUTTON_MAIN 0x1FF /* all buttons */
46 39
47/* No remote */
48#define BUTTON_REMOTE 0
49
50/* Software power-off */ 40/* Software power-off */
51#define POWEROFF_BUTTON BUTTON_POWER 41#define POWEROFF_BUTTON BUTTON_POWER
52/* About 3 seconds */ 42/* About 3 seconds */