Skip to content

Instantly share code, notes, and snippets.

@KzoNag
Created December 14, 2022 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KzoNag/21952c49bc4d0d70439bb76454ee92c1 to your computer and use it in GitHub Desktop.
Save KzoNag/21952c49bc4d0d70439bb76454ee92c1 to your computer and use it in GitHub Desktop.
ブログ用 - VIVE Flowデバイス登録
static WaveController()
{
InputSystem.RegisterLayout<WaveController>("XRWaveController", new InputDeviceMatcher()
.WithInterface(XRUtilities.InterfaceCurrent)
.WithProduct("(WVR_CR_(Left|Right)_001|WVR_CR_(Left|Right)_001|WVR_CONTROLLER*)"));
}
[RuntimeInitializeOnLoadMethod]
private static void InitializeInPlayer()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment