71a0ed17da08d58b56d9558a328f6ee80cc4d772
[enjoyable.git] / Classes / NJDeviceController.h
1 //
2 // NJDeviceController.h
3 // Enjoy
4 //
5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
7 //
8
9 @class NJDevice;
10 @class NJInput;
11 @class NJMappingsController;
12 @class NJOutputController;
13
14 @interface NJDeviceController : NSObject <NSOutlineViewDataSource, NSOutlineViewDelegate> {
15 IBOutlet NSOutlineView *outlineView;
16 IBOutlet NJOutputController *outputController;
17 IBOutlet NJMappingsController *mappingsController;
18 IBOutlet NSButton *translatingEventsButton;
19 IBOutlet NSView *connectDevicePrompt;
20 IBOutlet NSView *hidSleepingPrompt;
21 }
22
23 @property (nonatomic, readonly) NJInput *selectedInput;
24 @property (nonatomic, assign) NSPoint mouseLoc;
25 @property (nonatomic, assign) BOOL translatingEvents;
26
27 - (IBAction)translatingEventsChanged:(NSButton *)sender;
28
29 @end