X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Joystick.h;h=e5566f1e78451d924b7923dba646b701a4102d35;hp=4b60ba84d75c563d14763f8d9cb9b32bd78ce7b1;hb=0238d141f06420e1a73eccd14ca73a7e29ad2a69;hpb=aaab00fd866af505e9a5e454f1aeb3e298fd38e3 diff --git a/Joystick.h b/Joystick.h index 4b60ba8..e5566f1 100644 --- a/Joystick.h +++ b/Joystick.h @@ -6,9 +6,11 @@ // Copyright 2009 University of Otago. All rights reserved. // +#import "NJActionPathElement.h" + @class JSAction; -@interface Joystick : NSObject +@interface Joystick : NSObject @property (nonatomic, assign) int index; @property (nonatomic, copy) NSString *productName; @@ -18,7 +20,7 @@ @property (readonly) NSString *uid; - (id)initWithDevice:(IOHIDDeviceRef)device; -- (id)handlerForEvent:(IOHIDValueRef)value; +- (JSAction *)handlerForEvent:(IOHIDValueRef)value; - (JSAction *)actionForEvent:(IOHIDValueRef)value; @end