aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DomeKey/HeadphoneKey.h2
-rw-r--r--DomeKey/HeadphoneKey.m1
2 files changed, 0 insertions, 3 deletions
diff --git a/DomeKey/HeadphoneKey.h b/DomeKey/HeadphoneKey.h
index 42464f5..fc500cd 100644
--- a/DomeKey/HeadphoneKey.h
+++ b/DomeKey/HeadphoneKey.h
@@ -23,8 +23,6 @@ static const Milliseconds TIMEOUT_DEFAULT = 500;
@interface HeadphoneKey : NSObject {
NSArray *_mikeys;
NSMutableArray *_key_buffer;
-// const Trigger *_in_mode;
- Trigger *_in_mode;
State *_state;
Milliseconds _timeout;
}
diff --git a/DomeKey/HeadphoneKey.m b/DomeKey/HeadphoneKey.m
index 035e657..a176cbf 100644
--- a/DomeKey/HeadphoneKey.m
+++ b/DomeKey/HeadphoneKey.m
@@ -17,7 +17,6 @@ static const Sounds *sounds_inst;
self = [super init];
if (self) {
_key_buffer = [[NSMutableArray alloc] initWithCapacity:5];
- _in_mode = NULL;
_state = dome_key_state_new();
// Should never be used. We initialise it just in case, but the real