X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJOutputMouseMove.m;h=f9435460644dd01199b07440e89f734816cfdb6d;hp=84c0ea37630f8b37a77debea8d2e1f72dbf2eb44;hb=479e7966da759a6b113850961bde029407b277be;hpb=24bdb92798b9abe86c7954042a47523791736b7c diff --git a/Classes/NJOutputMouseMove.m b/Classes/NJOutputMouseMove.m index 84c0ea3..f943546 100644 --- a/Classes/NJOutputMouseMove.m +++ b/Classes/NJOutputMouseMove.m @@ -7,7 +7,7 @@ #import "NJOutputMouseMove.h" -#import "NJDeviceController.h" +#import "NJInputController.h" @implementation NJOutputMouseMove @@ -37,7 +37,7 @@ #define CLAMP(a, l, h) MIN(h, MAX(a, l)) -- (BOOL)update:(NJDeviceController *)jc { +- (BOOL)update:(NJInputController *)jc { if (self.magnitude < 0.05) return NO; // dead zone