X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Joystick.h;fp=Joystick.h;h=0000000000000000000000000000000000000000;hp=e5566f1e78451d924b7923dba646b701a4102d35;hb=f864d363128de19fc6591b77ae9226b34166d715;hpb=f563321aec9e13b8479ab3b890a9179f095a8b17 diff --git a/Joystick.h b/Joystick.h deleted file mode 100644 index e5566f1..0000000 --- a/Joystick.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// Joystick.h -// Enjoy -// -// Created by Sam McCall on 4/05/09. -// Copyright 2009 University of Otago. All rights reserved. -// - -#import "NJActionPathElement.h" - -@class JSAction; - -@interface Joystick : NSObject - -@property (nonatomic, assign) int index; -@property (nonatomic, copy) NSString *productName; -@property (nonatomic, assign) IOHIDDeviceRef device; -@property (nonatomic, copy) NSArray *children; -@property (nonatomic, readonly) NSString *name; -@property (readonly) NSString *uid; - -- (id)initWithDevice:(IOHIDDeviceRef)device; -- (JSAction *)handlerForEvent:(IOHIDValueRef)value; -- (JSAction *)actionForEvent:(IOHIDValueRef)value; - -@end