Make Mesh Copy Pitch/Yaw of Vive Wand

The attatched image is of my blueprints that allow a stationary mesh to be rotated in place with mouse movements. I need to modify this to use motion controller rotation/position, instead.