X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NJDeviceController.h;h=4e50fa40e64114d4e80338d337896bceb7a2896d;hp=276922224b5e5c84645c8915b22067d6a5ec1972;hb=ce24f5cc4eb879f248f3363663c5330a06b1046f;hpb=d0f4d54bb9eb66cbd19fa4dabb56fc09f42bd22d diff --git a/NJDeviceController.h b/NJDeviceController.h index 2769222..4e50fa4 100644 --- a/NJDeviceController.h +++ b/NJDeviceController.h @@ -15,14 +15,18 @@ 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