This is kinda like the camera control I have on my player. I just use the mouse axis to move between two values and have a clamp node.
Positive adds ( up to a point ), and negative subtracts ( to a point ).
Does that make sense? ( I can lookup the code… ).