Add missing if block to VR tutorial source example
Fixed formatting and corrected the example code to better reflect the intent of the tutorial text.
i.e. "...The last thing we are doing in button_pressed is checking to see if the button pressed is 1..."