@@ -58,15 +58,15 @@ private struct WVRCtrlProfile
5858 private static WVRCtrlProfile [ ] s_wvrCtrlProfiles = new WVRCtrlProfile [ ]
5959 {
6060 // WVR_CONTROLLER_FINCH3DOF_2_0_PAC_20_9_DARK
61- new WVRCtrlProfile { reg = new Regex ( "^.*( pac).*$ " , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFlowPhoneController , input2D = VRModuleInput2DType . TouchpadOnly } ,
61+ new WVRCtrlProfile { reg = new Regex ( "pac" , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFlowPhoneController , input2D = VRModuleInput2DType . TouchpadOnly } ,
6262 // WVR_CONTROLLER_FINCH3DOF_2_0
63- new WVRCtrlProfile { reg = new Regex ( "^.*( finch).*$ " , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocusFinch , input2D = VRModuleInput2DType . TouchpadOnly } ,
63+ new WVRCtrlProfile { reg = new Regex ( "finch" , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocusFinch , input2D = VRModuleInput2DType . TouchpadOnly } ,
6464 // WVR_CONTROLLER_ASPEN_MI6_1, WVR_CONTROLLER_ASPEN_XA_XB
65- new WVRCtrlProfile { reg = new Regex ( "^.*( aspen).*$ " , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocusChirp , input2D = VRModuleInput2DType . TouchpadOnly } ,
65+ new WVRCtrlProfile { reg = new Regex ( "aspen" , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocusChirp , input2D = VRModuleInput2DType . TouchpadOnly } ,
6666 // WVR_CR_Left_001
67- new WVRCtrlProfile { reg = new Regex ( "^.*(cr).( left)*$ " , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocus3ControllerLeft , input2D = VRModuleInput2DType . TouchpadOnly } ,
67+ new WVRCtrlProfile { reg = new Regex ( "cr.+ left" , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocus3ControllerLeft , input2D = VRModuleInput2DType . JoystickOnly } ,
6868 // WVR_CR_Right_001
69- new WVRCtrlProfile { reg = new Regex ( "^.*(cr).( right)*$ " , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocus3ControllerRight , input2D = VRModuleInput2DType . TouchpadOnly } ,
69+ new WVRCtrlProfile { reg = new Regex ( "cr.+ right" , REGEX_OPTIONS ) , model = VRModuleDeviceModel . ViveFocus3ControllerRight , input2D = VRModuleInput2DType . JoystickOnly } ,
7070 } ;
7171
7272 public bool isActivated { get ; private set ; }
0 commit comments