X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJDeviceController.h;h=1d13a988daaaf81078a3f0bfe7ef5eaa5ad77b6d;hp=07695f7581693daabdc8d6094853acfc5f9f84c2;hb=91ea24909c2c38d9f3d319e6440b362222fdfd87;hpb=18160be57e656a3733fc29878caddcda5081a2c2 diff --git a/Classes/NJDeviceController.h b/Classes/NJDeviceController.h index 07695f7..1d13a98 100644 --- a/Classes/NJDeviceController.h +++ b/Classes/NJDeviceController.h @@ -6,27 +6,28 @@ // Copyright 2009 University of Otago. All rights reserved. // +#import "NJHIDManager.h" + @class NJDevice; @class NJInput; @class NJMappingsController; @class NJOutputController; -@interface NJDeviceController : NSObject { +@interface NJDeviceController : NSObject { IBOutlet NSOutlineView *outlineView; IBOutlet NJOutputController *outputController; IBOutlet NJMappingsController *mappingsController; - IBOutlet NSButton *translatingEventsButton; - IBOutlet NSMenuItem *translatingEventsMenu; + IBOutlet NSButton *simulatingEventsButton; IBOutlet NSView *connectDevicePrompt; + IBOutlet NSView *hidSleepingPrompt; } @property (nonatomic, readonly) NJInput *selectedInput; @property (nonatomic, assign) NSPoint mouseLoc; -@property (nonatomic, assign) BOOL translatingEvents; - -- (void)setup; -- (NJDevice *)findDeviceByRef:(IOHIDDeviceRef)device; +@property (nonatomic, assign) BOOL simulatingEvents; -- (IBAction)translatingEventsChanged:(id)sender; +- (IBAction)simulatingEventsChanged:(NSButton *)sender; @end