X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Joystick.h;h=1c254a75abb01112ef70ad0e1277e028c5b2d749;hp=6d38ce1e27c1349f649c723882f7ab31bf771091;hb=d442b81606d83ebf913f43d7c3fc5c885c0bbe30;hpb=fad073260e61084c4962e172c58a0595261bd811 diff --git a/Joystick.h b/Joystick.h index 6d38ce1..1c254a7 100644 --- a/Joystick.h +++ b/Joystick.h @@ -6,19 +6,16 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import - @class JSAction; @interface Joystick : NSObject -@property (assign) int vendorId; -@property (assign) int productId; @property (assign) int index; @property (copy) NSString *productName; @property (assign) IOHIDDeviceRef device; @property (copy) NSArray *children; @property (readonly) NSString *name; +@property (readonly) NSString *uid; - (id)initWithDevice:(IOHIDDeviceRef)device; - (id)handlerForEvent:(IOHIDValueRef)value;