X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJInput.h;h=ad7320ecbdfda3361acacd49da179059c2c949a7;hp=db471217a65fa8ce2e384d68fb81a6ac40489aed;hb=e7c0b2d96e9e3209b5ba80cc1fdc8e7213cb5302;hpb=561fa1774ce33b5a4a8112ba5802cc33a2ca819d diff --git a/Classes/NJInput.h b/Classes/NJInput.h index db47121..ad7320e 100644 --- a/Classes/NJInput.h +++ b/Classes/NJInput.h @@ -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;