Consolidated resource for conversion of DK2/CV1 projects to Vive/GearVR/Android VR etc?

Starting a new project and was going to document / record various things about development. One of the things I’ll (try) to go over is using the sensor data and platform name to check if you’re using a Vive / Rift - unless there is a better way of doing it that I haven’t found yet?