Just get input for the right mouse button, and add an if statement to check if right button is down while mouse is being dragged.