Hi everyone, hope u are well!
Instead of using “e” and “i” as response, I’d like to use the mouse.But I don’t even know how to start to change this on PsychoPy. I’m using the OpenSourceIRAP that Ian Hussey made available on GitHub.
If someone can give me orientantions, I’d be very grateful
Do you just want to use mouse buttons (left and right) or clicking on response images or do you want a touchscreen response.
I have several mouse responses in my online demos. You need a mouse object, something to click and then code to score the responses.
Hi @wakecarter !
Only clicking on response images
If the responses are text elements called Similar and Different then you could add a mouse component and put Similar, Different as clickable stimuli and end the trial on valid mouse clicks only.
If the answer is corrResp ‘s’ or 'd then you could put in End Routine
if mouse.isPressedIn(Similar) and corrResp == 's':
thisExp.addData('Score',1)
elif mouse.isPressedIn(Different) and corrResp == 'd':
thisExp.addData('Score',1)
else:
thisExp.addData('Score',0)
The following error is presented:
Can u help me?
What I need is to change mouse buttons (“e” and “i”) to clicking on response text (or even imagens, whichever is simpler)
I can see some warnings, but no errors. In what way doesn’t it work?
Warning “User requested fullscreen with size [1600 900], but screen is actually [1366, 768]. Using actual size” How I can fix it? Because my screen freeze and I can’t even see the mouse or anything, actually the screen is totally black and I need to reset my notebook (Win 10 Pro 64x)