[solved] Restricting allowed choices in touch response not possible?
The keyboard version of this study works in that I can restrict responses to just ONE key (of two keys, say 1 and 2). So in such a case that response has to be made before the trial can proceed (I use this to force Ss to make the correct response if they make an error on the actual target in the trial). What I do is restrict the allowed response to just the correct response key and it works in the case of the keyboard.
In touch case with Android backend (where the responses are 1 and 2), it works only half the time, when the right answer is 1. So if target of type 1 is presented, and the subject makes a mistake (presses 2) on the touch, then a second touch response can be restricted to just the first response by using this directive. The correct response is not defined here for this object as we are not interested in logging it.
set allowed_responses "[trialresponse]"
But if the right answer is 2 and person presses 1. Then it may not be possible to restrict the touch response to just the 2 response? That is, at the minimum, in the case of touch, 2 distinct responses must be allowed? Or if it is restricted it can only be limited to the response 1.
I am thinking this may have to do with how the touch response object internals work? Comments?