aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DomeKey/HeadphoneKey.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/DomeKey/HeadphoneKey.h b/DomeKey/HeadphoneKey.h
index 59c2b49..2a74fc1 100644
--- a/DomeKey/HeadphoneKey.h
+++ b/DomeKey/HeadphoneKey.h
@@ -9,17 +9,13 @@
#import <Foundation/Foundation.h>
#import <DDHidLib/DDHidAppleMikey.h>
+#import "dome_key_map.h"
+
typedef enum KeyPress : BOOL {
KeyPressDown = YES,
KeyPressUp = NO
} KeyPress;
-typedef enum HeadphoneButton : NSUInteger {
- HeadphoneButton_Play,
- HeadphoneButton_Up,
- HeadphoneButton_Down
-} HeadphoneButton;
-
static const unsigned int TIMEOUT_MILLISECONDS = 1000;
@interface HeadphoneKey : NSObject {