// Copyright 2009 University of Otago. All rights reserved.
//
-#import <Foundation/Foundation.h>
-#import <IOKit/hid/IOHIDBase.h>
-
@interface JSAction : NSObject
@property (assign) void *cookie;
-@property (assign) int index;
@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