float speed = [(NJOutputMouseScroll *)output speed];
scrollDirSelect.selectedSegment = (direction > 0) + !speed * 2;
scrollSpeedSlider.floatValue = speed;
float speed = [(NJOutputMouseScroll *)output speed];
scrollDirSelect.selectedSegment = (direction > 0) + !speed * 2;
scrollSpeedSlider.floatValue = speed;