X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJInput.h;h=b9d2dcab28226b4f1270a83de87d9a6499720f02;hp=d63be1bd6e2028d94402f843b0d16336316f22df;hb=79b05c3cf1c75bc4f7078acde43aaf4215c6408a;hpb=bda2aa3a8897f574b97c0bd125e84374087017a9 diff --git a/Classes/NJInput.h b/Classes/NJInput.h index d63be1b..b9d2dca 100644 --- a/Classes/NJInput.h +++ b/Classes/NJInput.h @@ -8,17 +8,16 @@ #import "NJInputPathElement.h" -@interface NJInput : NSObject +@interface NJInput : NJInputPathElement + +- (id)initWithName:(NSString *)name + did:(NSString *)did + cookie:(IOHIDElementCookie)cookie + base:(NJInputPathElement *)base; @property (nonatomic, assign) IOHIDElementCookie cookie; -@property (nonatomic, copy) NSArray *children; -@property (nonatomic, weak) id base; -@property (nonatomic, copy) NSString *name; @property (nonatomic, assign) BOOL active; @property (nonatomic, assign) float magnitude; -@property (readonly) NSString *uid; - -- (id)initWithName:(NSString *)newName base:(id )newBase; - (void)notifyEvent:(IOHIDValueRef)value; - (id)findSubInputForValue:(IOHIDValueRef)value;