X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NJOutputController.m;h=bcafe0d3a96f207feb1b5207a636ed0593db8863;hp=f3eca24b79c50a6857e45e0f60214bf8a5b10196;hb=72a9fcd1e832a4e22f02018b855feaa414ae8c5c;hpb=48186896d41ccb345e4678c53ab1480059c12d3d diff --git a/NJOutputController.m b/NJOutputController.m index f3eca24..bcafe0d 100644 --- a/NJOutputController.m +++ b/NJOutputController.m @@ -19,7 +19,6 @@ #import "NJOutputMouseButton.h" #import "NJOutputMouseMove.h" #import "NJOutputMouseScroll.h" -#import "NJOutputSwitchMouseMode.h" @implementation NJOutputController @@ -185,10 +184,6 @@ : 0.f; return ms; } - case 6: { - NJOutputSwitchMouseMode *tms = [[NJOutputSwitchMouseMode alloc] init]; - return tms; - } default: return nil; } @@ -212,6 +207,7 @@ [mouseSpeedSlider setEnabled:enabled]; [mouseBtnSelect setEnabled:enabled]; [scrollDirSelect setEnabled:enabled]; + [scrollSpeedSlider setEnabled:enabled]; } - (void)loadOutput:(NJOutput *)output forInput:(NJInput *)input { @@ -252,9 +248,6 @@ float speed = [(NJOutputMouseScroll *)output speed]; scrollDirSelect.selectedSegment = (direction > 0) + !speed * 2; scrollSpeedSlider.floatValue = speed; - } - else if ([output isKindOfClass:NJOutputSwitchMouseMode.class]) { - [radioButtons selectCellAtRow:6 column:0]; } else { [radioButtons selectCellAtRow:self.enabled ? 0 : -1 column:0]; }