Forked Enjoy, mouse movement
[enjoyable.git] / JSAction.m
1 //
2 // JSAction.m
3 // Enjoy
4 //
5 // Created by Sam McCall on 4/05/09.
6 //
7
8 @implementation JSAction
9
10 @synthesize usage, cookie, index, subActions, base, name;
11
12 -(id) findSubActionForValue: (IOHIDValueRef) value {
13 return NULL;
14 }
15
16 -(NSString*) stringify {
17 return [[NSString alloc] initWithFormat: @"%@~%d",[base stringify],(int)cookie];
18 }
19 -(void) notifyEvent: (IOHIDValueRef) value {
20 [self doesNotRecognizeSelector:_cmd];
21 }
22 -(BOOL) active {
23 [self doesNotRecognizeSelector:_cmd];
24 return NO;
25 }
26
27 @end