Fix localization changing mapping logical names.
[enjoyable.git] / Classes / NJInput.m
1 //
2 // NJInput.m
3 // Enjoy
4 //
5 // Created by Sam McCall on 4/05/09.
6 //
7
8 #import "NJInput.h"
9
10 @implementation NJInput
11
12 - (id)initWithName:(NSString *)name
13 did:(NSString *)did
14 cookie:(IOHIDElementCookie)cookie
15 base:(NJInputPathElement *)base {
16 if ((self = [super initWithName:name did:did base:base])) {
17 self.cookie = cookie;
18 }
19 return self;
20 }
21
22 - (id)findSubInputForValue:(IOHIDValueRef)value {
23 return nil;
24 }
25
26 - (void)notifyEvent:(IOHIDValueRef)value {
27 [self doesNotRecognizeSelector:_cmd];
28 }
29
30 @end