//
//  ViewController.h
//  SimpleGLESgame
//
//  Created by Vedran Murgić on 24.01.2014..
//  Copyright (c) 2014. Vedran Murgić. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TGAccessoryManager.h"
#import "TGAccessoryDelegate.h"
#import <ExternalAccessory/ExternalAccessory.h>

// the eSense values
typedef struct {
    int attention;
    int meditation;
} ESenseValues;

@interface ViewController : GLKViewController <TGAccessoryDelegate>{
    UIWindow * window;
    int blinkStrength;
    int poorSignalValue;
    
    ESenseValues eSenseValues;
}


- (void)accessoryDidConnect:(EAAccessory *)accessory;
- (void)accessoryDidDisconnect;
- (void)dataReceived:(NSDictionary *)data;

@end
