If you have an axially sliding collar with a helical groove, then the groove can give exactly 0 to 360...
The helix only needs to be sufficient that the ends of the groove don’t interfere.
You could also fix the collar axially and permit the pin to slide the necessary amount...