Mappings list doesn't need to be public anymore.
[enjoyable.git] / Classes / NJDevice.h
index ec607acad25d8e6a5d465f0db3b5f2c25b864174..9f2cb979b130c4123f35b8155cd7a934f3cebbc0 100644 (file)
 
 @class NJInput;
 
-@interface NJDevice : NSObject <NJInputPathElement>
+@interface NJDevice : NJInputPathElement
+
+- (id)initWithDevice:(IOHIDDeviceRef)device;
 
 @property (nonatomic, assign) int index;
 @property (nonatomic, copy) NSString *productName;
 @property (nonatomic, assign) IOHIDDeviceRef device;
-@property (nonatomic, copy) NSArray *children;
-@property (nonatomic, readonly) NSString *name;
-@property (readonly) NSString *uid;
 
-- (id)initWithDevice:(IOHIDDeviceRef)device;
 - (NJInput *)handlerForEvent:(IOHIDValueRef)value;
 - (NJInput *)inputForEvent:(IOHIDValueRef)value;