Skip to content

Commit 3f24251

Browse files
authored
Add four-param constructor to GenericXRSDKController for fallback (#10594)
1 parent 418a0f0 commit 3f24251

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Assets/MRTK/Providers/XRSDK/Controllers/GenericXRSDKController.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ namespace Microsoft.MixedReality.Toolkit.XRSDK.Input
1616
supportedUnityXRPipelines: SupportedUnityXRPipelines.XRSDK)]
1717
public class GenericXRSDKController : BaseController, IMixedRealityHapticFeedback
1818
{
19+
public GenericXRSDKController(
20+
TrackingState trackingState,
21+
Handedness controllerHandedness,
22+
IMixedRealityInputSource inputSource = null,
23+
MixedRealityInteractionMapping[] interactions = null)
24+
: base(trackingState, controllerHandedness, inputSource, interactions)
25+
{ }
26+
1927
public GenericXRSDKController(
2028
TrackingState trackingState,
2129
Handedness controllerHandedness,

0 commit comments

Comments
 (0)