projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leak.
[enjoyable.git]
/
Joystick.h
diff --git
a/Joystick.h
b/Joystick.h
index
6d38ce1
..
2aea487
100644
(file)
--- a/
Joystick.h
+++ b/
Joystick.h
@@
-6,8
+6,6
@@
// Copyright 2009 University of Otago. All rights reserved.
//
// Copyright 2009 University of Otago. All rights reserved.
//
-#import <Cocoa/Cocoa.h>
-
@class JSAction;
@interface Joystick : NSObject
@class JSAction;
@interface Joystick : NSObject
@@
-19,6
+17,7
@@
@property (assign) IOHIDDeviceRef device;
@property (copy) NSArray *children;
@property (readonly) NSString *name;
@property (assign) IOHIDDeviceRef device;
@property (copy) NSArray *children;
@property (readonly) NSString *name;
+@property (readonly) NSString *uid;
- (id)initWithDevice:(IOHIDDeviceRef)device;
- (id)handlerForEvent:(IOHIDValueRef)value;
- (id)initWithDevice:(IOHIDDeviceRef)device;
- (id)handlerForEvent:(IOHIDValueRef)value;