mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: eye dominant falloff (may still be broke)
This commit is contained in:
parent
55a0df1b66
commit
4c668f9b47
@ -33,8 +33,8 @@ def velocity_falloff(self, var, out_x, out_y):
|
|||||||
eye_x = var.l_eye_x
|
eye_x = var.l_eye_x
|
||||||
eye_y = var.left_y
|
eye_y = var.left_y
|
||||||
elif self.settings.gui_left_eye_dominant:
|
elif self.settings.gui_left_eye_dominant:
|
||||||
var.l_eye_x = out_x
|
var.r_eye_x = out_x
|
||||||
var.left_y = out_y
|
var.right_y = out_y
|
||||||
falloff = False
|
falloff = False
|
||||||
else:
|
else:
|
||||||
var.l_eye_x = out_x
|
var.l_eye_x = out_x
|
||||||
@ -63,8 +63,8 @@ def velocity_falloff(self, var, out_x, out_y):
|
|||||||
var.l_eye_x = out_x
|
var.l_eye_x = out_x
|
||||||
var.left_y = out_y # need to make sure we send these values... might re think the whole file
|
var.left_y = out_y # need to make sure we send these values... might re think the whole file
|
||||||
elif self.settings.gui_right_eye_dominant:
|
elif self.settings.gui_right_eye_dominant:
|
||||||
var.r_eye_x = out_x
|
var.l_eye_x = out_x
|
||||||
var.right_y = out_y
|
var.left_y = out_y
|
||||||
falloff = False
|
falloff = False
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user