Detecting whether Oculus SDK or OpenVR in use?

Is there a way to easily detect which VR SDK is being used in a script? The use case is that I noticed my hand positions are slightly different for OpenVR vs. Oculus SDK and so I’d like to move and rotate a transform when the game starts up for OpenVR but not for Oculus SDK and don’t want to have to keep changing the code for different builds, because I will forget to do this at some point. Any ideas? Thanks.

Follow-up: my bad, I should have dug through the docs better. It turns out “XRSettings.loadedDeviceName” is exactly what I’m looking for (I guess the word “device” threw me off). However, I do still have a remaining question:

It appears that A / B and X / Y are backwards between Oculus and OpenVR. So what is the best way to create a game that supports both? Should I make wrapper functions for the inputs that check XRSettings.loadedDeviceName and then return the correct input?