depreciate sync blink in favor of dual eye falloff

This commit is contained in:
Prohurtz 2023-03-19 15:48:59 -05:00
parent 0e0ea2df4a
commit c5c809af1f
2 changed files with 0 additions and 14 deletions

View File

@ -43,7 +43,6 @@ class EyeTrackSettingsConfig(BaseModel):
gui_recenter_eyes: bool = False
gui_eye_falloff: bool = False
tracker_single_eye: int = 0
gui_blink_sync: bool = False
gui_threshold: int = 65
gui_HSRACP: int = 1
gui_HSFP: int = 2

View File

@ -34,7 +34,6 @@ class SettingsWidget:
self.gui_speed_coefficient = f"-SPEEDCOEFFICIENT{widget_id}-"
self.gui_min_cutoff = f"-MINCUTOFF{widget_id}-"
self.gui_eye_falloff = f"-EYEFALLOFF{widget_id}-"
self.gui_blink_sync = f"-BLINKSYNC{widget_id}-"
self.gui_skip_autoradius = f"-SKIPAUTORADIUS{widget_id}-"
self.gui_HSRACP = f"-HSRACP{widget_id}-"
self.gui_RANSAC3DP = f"-RANSAC3DP{widget_id}-"
@ -85,14 +84,6 @@ class SettingsWidget:
tooltip = "If one eye stops tracking, we send tracking data from your other eye.",
),
],
[sg.Checkbox(
"Sync Blinks (disables winking)",
default=self.config.gui_blink_sync,
key=self.gui_blink_sync,
background_color='#424042',
tooltip = "Only send a blink to VRC if both eyes are closed.",
),
],
[sg.Checkbox(
"Check For Updates",
default=self.config.gui_update_check,
@ -518,10 +509,6 @@ class SettingsWidget:
self.config.gui_eye_falloff = values[self.gui_eye_falloff]
changed = True
if self.config.gui_blink_sync != values[self.gui_blink_sync]:
self.config.gui_blink_sync = values[self.gui_blink_sync]
changed = True
if self.config.gui_blob_maxsize != values[self.gui_blob_maxsize]:
self.config.gui_blob_maxsize = values[self.gui_blob_maxsize]
changed = True