Skip to content

Commit a81525c

Browse files
committed
Update Eyelid default values, eyes were closed on startup
1 parent 6bbdd82 commit a81525c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

ExpressionStrategies/V1Mapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public class V1Mapper : ImappingStategy
1010
{
1111
private Dictionary<string, float> _parameterValues = new()
1212
{
13-
{ "RightEyeLidExpandedSqueeze", 0f },
14-
{ "LeftEyeLidExpandedSqueeze", 0f },
13+
{ "RightEyeLidExpandedSqueeze", 1f },
14+
{ "LeftEyeLidExpandedSqueeze", 1f },
1515
{ "LeftEyeX", 0f },
1616
{ "RightEyeX", 0f },
1717
{ "EyesY", 0f },

ExpressionStrategies/V2Mapper.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ namespace ETVRTrackingModule.ExpressionStrategies;
77

88
public class V2Mapper : ImappingStategy
99
{
10-
private string[] singleEyeParamNames =
10+
private readonly string[] _singleEyeParamNames =
1111
{
1212
"EyeX",
1313
"EyeY",
1414
"EyeLid"
1515
};
1616

17-
private Dictionary<string, float> parameterValues = new()
17+
private Dictionary<string, float> _parameterValues = new()
1818
{
1919
{ "EyeX", 0f },
2020
{ "EyeY", 0f },
21-
{ "EyeLid", 0f },
21+
{ "EyeLid", 1f },
2222

2323
{ "EyeLeftX", 0f },
2424
{ "EyeLeftY", 0f },
2525
{ "EyeRightX", 0f },
2626
{ "EyeRightY", 0f },
27-
{ "EyeLidLeft", 0f },
28-
{ "EyeLidRight", 0f },
27+
{ "EyeLidLeft", 1f },
28+
{ "EyeLidRight", 1f },
2929
};
3030

3131
private ILogger _logger;

0 commit comments

Comments
 (0)