X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetToggleMouseScope.m;h=499e9c9a3e768d51441deb99fa93d576fe2aadea;hp=863a35fda7d1df27182ff543ff8fec040ddbe59a;hb=f864d363128de19fc6591b77ae9226b34166d715;hpb=f563321aec9e13b8479ab3b890a9179f095a8b17 diff --git a/TargetToggleMouseScope.m b/TargetToggleMouseScope.m index 863a35f..499e9c9 100644 --- a/TargetToggleMouseScope.m +++ b/TargetToggleMouseScope.m @@ -8,7 +8,7 @@ #import "TargetToggleMouseScope.h" #import "ApplicationController.h" -#import "JoystickController.h" +#import "NJInputController.h" @implementation TargetToggleMouseScope @@ -29,7 +29,7 @@ // FIXME: It's hacky to get at the controller this way, but it's // also hacky to pass it. Shouldn't need to do either. ApplicationController *ac = NSApplication.sharedApplication.delegate; - JoystickController *jc = ac.jsController; + NJInputController *jc = ac.jsController; jc.frontWindowOnly = !jc.frontWindowOnly; }