X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJDeviceController.h;h=41017db0eab364aa32ee3dde8f9ca976d77ebfe2;hp=3691d59bcd38d04b53df1b39902cf72247c4ba27;hb=6a8c6539cc3f7a4b32a9f226da6ae06074e4f0cb;hpb=6a7c78afa7b8a34901f59a79afe41d18855734bc diff --git a/Classes/NJDeviceController.h b/Classes/NJDeviceController.h index 3691d59..41017db 100644 --- a/Classes/NJDeviceController.h +++ b/Classes/NJDeviceController.h @@ -7,28 +7,25 @@ // #import "NJHIDManager.h" -#import "NJDeviceViewController.h" +@class NJDevice; @class NJInput; +@class NJInputPathElement; @class NJMappingsController; @protocol NJDeviceControllerDelegate; @interface NJDeviceController : NSObject { IBOutlet NJMappingsController *mappingsController; - IBOutlet NSButton *simulatingEventsButton; } @property (nonatomic, weak) IBOutlet id delegate; @property (nonatomic, assign) NSPoint mouseLoc; @property (nonatomic, assign) BOOL simulatingEvents; +@property (nonatomic, readonly) NSArray *devices; -- (IBAction)simulatingEventsChanged:(NSButton *)sender; - -- (NJDevice *)objectAtIndexedSubscript:(NSUInteger)idx; -- (NJInputPathElement *)objectForKeyedSubscript:(NSString *)uid; -- (NSUInteger)count; +- (NJInputPathElement *)elementForUID:(NSString *)uid; @end