projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show an error message if opening input devices fail. Move real vs. configuration...
[enjoyable.git]
/
JSAction.h
diff --git
a/JSAction.h
b/JSAction.h
index
b92c7d6
..
fc0971b
100644
(file)
--- a/
JSAction.h
+++ b/
JSAction.h
@@
-6,9
+6,6
@@
// Copyright 2009 University of Otago. All rights reserved.
//
// Copyright 2009 University of Otago. All rights reserved.
//
-#import <Foundation/Foundation.h>
-#import <IOKit/hid/IOHIDBase.h>
-
@interface JSAction : NSObject
@property (assign) void *cookie;
@interface JSAction : NSObject
@property (assign) void *cookie;
@@
-18,9
+15,11
@@
@property (copy) NSString *name;
@property (assign) BOOL active;
@property (readonly) float magnitude;
@property (copy) NSString *name;
@property (assign) BOOL active;
@property (readonly) float magnitude;
+@property (readonly) NSString *uid;
+
+- (id)initWithName:(NSString *)newName base:(JSAction *)newBase;
- (void)notifyEvent:(IOHIDValueRef)value;
- (void)notifyEvent:(IOHIDValueRef)value;
-- (NSString *)stringify;
- (id)findSubActionForValue:(IOHIDValueRef)value;
@end
- (id)findSubActionForValue:(IOHIDValueRef)value;
@end