mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
depreciate sync blink in favor of dual eye falloff
This commit is contained in:
parent
0e0ea2df4a
commit
c5c809af1f
@ -43,7 +43,6 @@ class EyeTrackSettingsConfig(BaseModel):
|
|||||||
gui_recenter_eyes: bool = False
|
gui_recenter_eyes: bool = False
|
||||||
gui_eye_falloff: bool = False
|
gui_eye_falloff: bool = False
|
||||||
tracker_single_eye: int = 0
|
tracker_single_eye: int = 0
|
||||||
gui_blink_sync: bool = False
|
|
||||||
gui_threshold: int = 65
|
gui_threshold: int = 65
|
||||||
gui_HSRACP: int = 1
|
gui_HSRACP: int = 1
|
||||||
gui_HSFP: int = 2
|
gui_HSFP: int = 2
|
||||||
|
|||||||
@ -34,7 +34,6 @@ class SettingsWidget:
|
|||||||
self.gui_speed_coefficient = f"-SPEEDCOEFFICIENT{widget_id}-"
|
self.gui_speed_coefficient = f"-SPEEDCOEFFICIENT{widget_id}-"
|
||||||
self.gui_min_cutoff = f"-MINCUTOFF{widget_id}-"
|
self.gui_min_cutoff = f"-MINCUTOFF{widget_id}-"
|
||||||
self.gui_eye_falloff = f"-EYEFALLOFF{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_skip_autoradius = f"-SKIPAUTORADIUS{widget_id}-"
|
||||||
self.gui_HSRACP = f"-HSRACP{widget_id}-"
|
self.gui_HSRACP = f"-HSRACP{widget_id}-"
|
||||||
self.gui_RANSAC3DP = f"-RANSAC3DP{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.",
|
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(
|
[sg.Checkbox(
|
||||||
"Check For Updates",
|
"Check For Updates",
|
||||||
default=self.config.gui_update_check,
|
default=self.config.gui_update_check,
|
||||||
@ -518,10 +509,6 @@ class SettingsWidget:
|
|||||||
self.config.gui_eye_falloff = values[self.gui_eye_falloff]
|
self.config.gui_eye_falloff = values[self.gui_eye_falloff]
|
||||||
changed = True
|
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]:
|
if self.config.gui_blob_maxsize != values[self.gui_blob_maxsize]:
|
||||||
self.config.gui_blob_maxsize = values[self.gui_blob_maxsize]
|
self.config.gui_blob_maxsize = values[self.gui_blob_maxsize]
|
||||||
changed = True
|
changed = True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user