Created
May 22, 2018 17:42
-
-
Save lyokato/7f42de0e9a08f40d4c508282aa828211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static OVRInput() | |
{ | |
controllers = new List<OVRControllerBase> | |
{ | |
#if UNITY_ANDROID && !UNITY_EDITOR | |
new OVRControllerGamepadAndroid(), | |
new OVRControllerTouchpad(), | |
new OVRControllerLTrackedRemote(), | |
new OVRControllerRTrackedRemote(), | |
#elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX | |
//new OVRControllerGamepadMac(), | |
new OVRControllerRTrackedRemote(), | |
#else | |
new OVRControllerGamepadPC(), | |
new OVRControllerTouch(), | |
new OVRControllerLTouch(), | |
new OVRControllerRTouch(), | |
new OVRControllerRemote(), | |
#endif | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment