Remove website, now in yukkurigames.com repository.
[enjoyable.git] / Classes / NJInputAnalog.m
index 3746c11..18a848b 100644 (file)
@@ -23,9 +23,9 @@ static float normalize(CFIndex p, CFIndex min, CFIndex max) {
                parent:(NJInputPathElement *)parent
 {
     if ((self = [super initWithName:NJINPUT_NAME(NSLocalizedString(@"axis %d", @"axis name"), index)
-                                eid:NJINPUT_DID("Axis", index)
+                                eid:NJINPUT_EID("Axis", index)
                             element:element
-                             parent:nil])) {
+                             parent:parent])) {
         self.children = @[[[NJInput alloc] initWithName:NSLocalizedString(@"axis low", @"axis low trigger")
                                                     eid:@"Low"
                                                    parent:self],