Rework toolbar UI. No more drawer, use a popover. No more weird toggle button, use...
[enjoyable.git] / NJDeviceController.h
index 2769222..cfa6d99 100644 (file)
        IBOutlet NSOutlineView *outlineView;
        IBOutlet NJOutputController *outputController;
        IBOutlet NJMappingsController *mappingsController;
+    IBOutlet NSSegmentedControl *translatingEventsSetting;
 }
 
-- (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