Split view management out of NJDeviceController. Right now this probably just makes...
[enjoyable.git] / Classes / NJDevice.h
1 //
2 // NJDevice.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 #import "NJInputPathElement.h"
10
11 @class NJInput;
12
13 @interface NJDevice : NJInputPathElement
14
15 - (id)initWithDevice:(IOHIDDeviceRef)device;
16
17 @property (nonatomic, assign) int index;
18 @property (nonatomic, copy) NSString *productName;
19 @property (nonatomic, assign) IOHIDDeviceRef device;
20
21 - (NJInput *)handlerForEvent:(IOHIDValueRef)value;
22 - (NJInput *)inputForEvent:(IOHIDValueRef)value;
23
24 @end