Use C++'s std::min and std::max on the feedback driver.