static void RegisterLayouts() { Inputs.RegisterLayout <HandheldARInputDevice>( matches: new InputDeviceMatcher() .WithInterface(XRUtilities.kXRInterfaceMatchAnyVersion) .WithProduct("(ARCore)") ); }
public static void SelfRegister() { InputDeviceMatcher matcher = new InputDeviceMatcher(). WithInterface("HID"). WithCapability("vendorId", 0x0f0d). WithCapability("productId", 0xc1); InputSystem.RegisterLayout <HORIPADSwitchController>("HORIPAD Switch Controller", matches: matcher); }
public static void SelfRegister() { InputDeviceMatcher matcher = new InputDeviceMatcher(). WithInterface("HID"). WithCapability("vendorId", 0x20d6). WithCapability("productId", 0xa711); InputSystem.RegisterLayout <PowerACorePlusController>("PowerA Core (Plus) Controller", matches: matcher); }
public static void SelfRegister() { var mayflashAdapter = new InputDeviceMatcher().WithInterface("HID").WithCapability("vendorId", 0x0079); InputSystem.RegisterLayout <GameCubeController>(matches: mayflashAdapter); var weeWuGCAdapter = new InputDeviceMatcher().WithInterface("HID").WithCapability("vendorId", 0x057E).WithProduct("0x0337"); InputSystem.RegisterLayout <GameCubeController>(matches: weeWuGCAdapter); }
static void RegisterLayouts() { if (!Api.AtLeast11_0()) { return; } Inputs.RegisterLayout <HandheldARInputDevice>( matches: new InputDeviceMatcher() .WithInterface(XRUtilities.InterfaceMatchAnyVersion) .WithProduct("(ARKit)") ); }
static void RegisterLayouts() { if (!Api.platformAndroid || !Api.loaderPresent) { return; } Inputs.RegisterLayout <HandheldARInputDevice>( matches: new InputDeviceMatcher() .WithInterface(XRUtilities.InterfaceMatchAnyVersion) .WithProduct("(ARCore)") ); }
static LaunchControlXLDevice() { InputSystem.RegisterLayout <LaunchControlXLDevice>(); InputSystem.onBeforeUpdate += CreateDevice; }