Detented shuttle valve