X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.m;fp=JSAction.m;h=a0fab80fde6461ebadd721b28f87cda7647d76f7;hp=0000000000000000000000000000000000000000;hb=530009447c5bbd360ac5023979cffc6d32a28df3;hpb=5f07baa8cb03a2f6aa06338bfeb31dad3c3ca29f diff --git a/JSAction.m b/JSAction.m new file mode 100644 index 0000000..a0fab80 --- /dev/null +++ b/JSAction.m @@ -0,0 +1,27 @@ +// +// JSAction.m +// Enjoy +// +// Created by Sam McCall on 4/05/09. +// + +@implementation JSAction + +@synthesize usage, cookie, index, subActions, base, name; + +-(id) findSubActionForValue: (IOHIDValueRef) value { + return NULL; +} + +-(NSString*) stringify { + return [[NSString alloc] initWithFormat: @"%@~%d",[base stringify],(int)cookie]; +} +-(void) notifyEvent: (IOHIDValueRef) value { + [self doesNotRecognizeSelector:_cmd]; +} +-(BOOL) active { + [self doesNotRecognizeSelector:_cmd]; + return NO; +} + +@end