Remove website, now in yukkurigames.com repository.
[enjoyable.git] / Classes / NJInput.h
index db47121..ad7320e 100644 (file)
@@ -10,7 +10,7 @@
 
 @interface NJInput : NJInputPathElement
 
-#define NJINPUT_DID(name, index) [[NSString alloc] initWithFormat:@"%s %d", name, index]
+#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
@@ -18,7 +18,7 @@
            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;