(please note I am reposting this question after the original one received no replies for several weeks; if this is not considered good practice on this forum, I’m happy to learn how I * should * have proceeded)
I have a rating scale component with the following custom code:
scale=None, low=1, high=2, precision=1, labels=('Not acceptable (Q)', 'Acceptable (P)'), showValue=False, respKeys=['q', 'p'], acceptPreText='Press Q or P', acceptText='Space to continue', acceptKeys=['space']
Right now, pressing Space as soon as the rating scale appears (without giving a response) continues to the next trial; I’d like instead for the Space key to be disabled/inactive until a response (Q or P) has been made.
Of the variables listed under the “Rating Scale” help page (singleClick, minTime etc), I think ratingScale.noResponse is the one that holds the solution - but I am not sure exactly how to use it in the above custom code, without resorting to the Coder (i.e. while keeping the rating scale as a component in the Builder).
Any help much appreciated!!
OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 3.1.0