when I define a rating scale as follows:
my_scale = visual.RatingScale( win, low=0, high=20, markerStart=10, leftKeys='b', rightKeys = 'r', acceptKeys=['y','g'])
and then do
while my_scale.noResponse: slider_checklist.draw() text_checklist.draw() win.flip()
participants can accept a response without having pressed one of
Is there a way to allow the
acceptKeys only after the
leftKeys were pressed?
Thanks in advance, Guido
I tried to use
while my_scale.noResponse and len(my_scale.getHistory()) > 2:)
But that does not work because
my_scale.getHistory() is initially returns type
None. I also had no success when using a function that uses my_scale as input and checks if
False and if the
leftKeys were pressed.