X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Joystick.h;h=1c254a75abb01112ef70ad0e1277e028c5b2d749;hp=04c5686f42d5ec955c934ddbf791a48d1504f636;hb=d442b81606d83ebf913f43d7c3fc5c885c0bbe30;hpb=e68c19b5923618b763543c74bf8dd6f85d4d323e diff --git a/Joystick.h b/Joystick.h index 04c5686..1c254a7 100644 --- a/Joystick.h +++ b/Joystick.h @@ -6,20 +6,16 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import -#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;