X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.h;h=551eb0ffe7c4774245f4849dde28cf75ecfd032a;hp=4b35832a4b6c12cfd778c9bc59ff9b09c8383e41;hb=794561a4606fa9e31e3b2b077891f5b1e6084698;hpb=3f6df7a954fb74bcebf6fc6c0e60821843b0f31b diff --git a/JSAction.h b/JSAction.h index 4b35832..551eb0f 100644 --- a/JSAction.h +++ b/JSAction.h @@ -6,23 +6,19 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import -#import - @interface JSAction : NSObject -@property (assign) void *cookie; -@property (assign) int index; +@property (assign) IOHIDElementCookie cookie; @property (copy) NSArray *children; @property (weak) id base; @property (copy) NSString *name; @property (assign) BOOL active; @property (readonly) float magnitude; +@property (readonly) NSString *uid; - (id)initWithName:(NSString *)newName base:(JSAction *)newBase; - (void)notifyEvent:(IOHIDValueRef)value; -- (NSString *)stringify; - (id)findSubActionForValue:(IOHIDValueRef)value; @end