mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-09-26 23:09:28 +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_y = var.left_y
|
||||
elif self.settings.gui_left_eye_dominant:
|
||||
var.l_eye_x = out_x
|
||||
var.left_y = out_y
|
||||
var.r_eye_x = out_x
|
||||
var.right_y = out_y
|
||||
falloff = False
|
||||
else:
|
||||
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.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:
|
||||
var.r_eye_x = out_x
|
||||
var.right_y = out_y
|
||||
var.l_eye_x = out_x
|
||||
var.left_y = out_y
|
||||
falloff = False
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user