X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NJDeviceController.h;h=7658c64afc615bc3c78aca4daf649aa40d4c97f1;hp=276922224b5e5c84645c8915b22067d6a5ec1972;hb=b8c30e0c06effb8f4a937378e5c4cf8a22f40c59;hpb=d0f4d54bb9eb66cbd19fa4dabb56fc09f42bd22d diff --git a/NJDeviceController.h b/NJDeviceController.h index 2769222..7658c64 100644 --- a/NJDeviceController.h +++ b/NJDeviceController.h @@ -12,17 +12,20 @@ @class NJOutputController; @interface NJDeviceController : NSObject { - IBOutlet NSOutlineView *outlineView; - IBOutlet NJOutputController *outputController; - IBOutlet NJMappingsController *mappingsController; + IBOutlet NSOutlineView *outlineView; + IBOutlet NJOutputController *outputController; + IBOutlet NJMappingsController *mappingsController; + IBOutlet NSButton *translatingEventsButton; + IBOutlet NSMenuItem *translatingEventsMenu; } -- (void)setup; -- (NJDevice *)findDeviceByRef:(IOHIDDeviceRef)device; - @property (nonatomic, readonly) NJInput *selectedInput; @property (nonatomic, assign) NSPoint mouseLoc; -@property (nonatomic, assign) BOOL frontWindowOnly; @property (nonatomic, assign) BOOL translatingEvents; +- (void)setup; +- (NJDevice *)findDeviceByRef:(IOHIDDeviceRef)device; + +- (IBAction)translatingEventsChanged:(id)sender; + @end