Remove website, now in yukkurigames.com repository.
[enjoyable.git] / Classes / NJInput.h
index b9d2dca..ad7320e 100644 (file)
 
 @interface NJInput : NJInputPathElement
 
+#define NJINPUT_EID(name, index) [[NSString alloc] initWithFormat:@"%s %d", name, index]
+#define NJINPUT_NAME(name, index) [[NSString alloc] initWithFormat:name, index]
+
 - (id)initWithName:(NSString *)name
-               did:(NSString *)did
-            cookie:(IOHIDElementCookie)cookie
-              base:(NJInputPathElement *)base;
+               eid:(NSString *)eid
+           element:(IOHIDElementRef)element
+            parent:(NJInputPathElement *)parent;
 
-@property (nonatomic, assign) IOHIDElementCookie cookie;
+@property (nonatomic, readonly) IOHIDElementCookie cookie;
 @property (nonatomic, assign) BOOL active;
 @property (nonatomic, assign) float magnitude;