Hi,
I have a smoothly moving target fixation point and I am testing my code with mouse input to simulate the eye input. I’ve noticed if i put my mouse initially inside the trigger window, and then do nothing with the mouse (i.e. eye_x, eye_y will stop changing), then trigger_flag will always remain true even when the fixation point stimulus moves away and the mouse is no longer inside the fixation window. Is this expected behavior, or is there an easy fix to this?
mouse_input eye_tracker (
mouse_position_x = eye_x
mouse_position_y = eye_y
use_mirror_window = NO
)
basic_eye_monitor (
eyeh_calibrated = eye_x
eyev_calibrated = eye_y
eye_state = eyeInSaccade
width_samples = 5
saccade_entry_speed = 2
saccade_exit_speed = 60
)
This is my eye input simulation setup.