// Copyright 2009 University of Otago. All rights reserved.
//
+#import "NJActionPathElement.h"
+
@class JSAction;
-@interface Joystick : NSObject
+@interface Joystick : NSObject <NJActionPathElement>
@property (nonatomic, assign) int index;
@property (nonatomic, copy) NSString *productName;
@property (readonly) NSString *uid;
- (id)initWithDevice:(IOHIDDeviceRef)device;
-- (id)handlerForEvent:(IOHIDValueRef)value;
+- (JSAction *)handlerForEvent:(IOHIDValueRef)value;
- (JSAction *)actionForEvent:(IOHIDValueRef)value;
@end