Mouse improvements. Segment and snap the mouse move and scroll speed for easier match...
[enjoyable.git] / Classes / NJOutputMouseScroll.m
index 812685f..99cec4a 100644 (file)
@@ -24,7 +24,7 @@
                   withMappings:(NSArray *)mappings {
     NJOutputMouseScroll *output = [[NJOutputMouseScroll alloc] init];
     output.direction = [serialization[@"direction"] intValue];
-    output.speed = [serialization[@"direction"] floatValue];
+    output.speed = [serialization[@"speed"] floatValue];
     return output;
 }