X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJDevice.h;h=9f2cb979b130c4123f35b8155cd7a934f3cebbc0;hp=ec607acad25d8e6a5d465f0db3b5f2c25b864174;hb=58ce8f7f50f382f18e7b416eca737803af284868;hpb=0064c1fbff36795885a9724081af2a17d83c20a3 diff --git a/Classes/NJDevice.h b/Classes/NJDevice.h index ec607ac..9f2cb97 100644 --- a/Classes/NJDevice.h +++ b/Classes/NJDevice.h @@ -10,16 +10,14 @@ @class NJInput; -@interface NJDevice : NSObject +@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;