External touchscreen not working

Hi, I am building my two tasks (a grammaticality judgement task and a sentence-picture matching task) in Psychopy but I am running into an issue.

For both tasks, I have several routines. In each routine, I have added a mouse component for participants to click on either yes/no buttons (grammaticality judgment) or on the relevant picture (sentence-picture matching task). It works perfectly when using the mouse but once I attach to the laptop an external touchscreen, tapping once on the item doesn’t work on the touchscreen - only a double-tap is registered and makes the task move forward. This is an issue as my participants will struggle with fine motor control.

I have tried checking the mouse component but couldn’t find anything that addresses the issue. I have tried adding a code component with the following code, but it still does not enable a single tap with a finger.

code in “Each Frame”
if mouse.isPressedIn(nextButton):
continueRoutine = False

I’m testing on Windows with a standard touchscreen laptop. PsychoPy version 2024.2.4

Thanks in advance for any help!

Hey Ludovica,

Refer to this thread for a possible solution to the touchscreen problem:

Specifically the “double-tap” issue:

There is also some documentation in a workshop for implementing touchscreen functionality:

Hope this helps.

Issac