Skip to content

Commit

Permalink
Use the mx ink geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Sep 30, 2024
1 parent 2722268 commit 32700c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Assets/Scenes/Main.unity
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ MonoBehaviour:
lensDirtScatterFactor: 0.5
lensDirtIntensity: 0.05
lensDirtTexture: {fileID: 0}
inputIsHDR: 1
inputIsHDR: 0
lowQuality: 1
depthBlending: 0
depthBlendFunction: 0
Expand Down Expand Up @@ -19640,7 +19640,7 @@ MonoBehaviour:
type: 3}
m_GvrPointerControlsPrefab: {fileID: 1118433077968626, guid: 5afb9e0174eb44346ad642958130e294,
type: 3}
m_LogitechMxInkControlsPrefab: {fileID: 1000010438099326, guid: dc370ed6d37f7c141bf13df38965130b,
m_LogitechMxInkControlsPrefab: {fileID: 2302704768686387309, guid: 1e3b2b559e2ddc247825568f121513bd,
type: 3}
m_NonVrControlsPrefab: {fileID: 1000011856084730, guid: 9d7a5b25efc95cd429ec738e0ccd19df,
type: 3}
Expand Down Expand Up @@ -33540,7 +33540,7 @@ MonoBehaviour:
lensDirtScatterFactor: 0.5
lensDirtIntensity: 0.05
lensDirtTexture: {fileID: 0}
inputIsHDR: 1
inputIsHDR: 0
lowQuality: 1
depthBlending: 0
depthBlendFunction: 0
Expand Down Expand Up @@ -34443,7 +34443,7 @@ MonoBehaviour:
lensDirtScatterFactor: 0.5
lensDirtIntensity: 0.05
lensDirtTexture: {fileID: 0}
inputIsHDR: 1
inputIsHDR: 0
lowQuality: 1
depthBlending: 0
depthBlendFunction: 0
Expand Down
5 changes: 2 additions & 3 deletions Assets/Scripts/VrSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public enum ControllerStyle
Neo3,
Phoenix,
Zapbox,
LogitechMxInk
LogitechMxInk = 6100
}

//
Expand Down Expand Up @@ -732,8 +732,7 @@ private void SetUnityXRControllerStyle(InputDevice device)
{
if (device.name.Contains("Logitech MX Ink"))
{
//Temporal, waiting for stylus prefab
SetControllerStyle(ControllerStyle.OculusTouch);
SetControllerStyle(ControllerStyle.LogitechMxInk);
}
else if (device.name.Contains("Oculus Touch"))
{
Expand Down

0 comments on commit 32700c7

Please sign in to comment.