Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Touch screen not working in OSWEB

Dear all,

I am attempting to prepare a simple experiment for my lessons concerning methodology for first-year students of psychology.

I have decided to adapt a simple example from the OpenSesame scripts: the lexical decision script.

I would like the students to be able to participate in the experiment during the class using their mobile phones, just to get a hint about what a very simple experiment in psychology is.

So, I modified the script by replacing the keyboard_responses with touch_response modules, removed all the Python code, and compiled it for OsWEB after updating OpenSesame to the latest version.

However, while the first touch_response works, the touch_response within the loops does not work.

Can any of you help me?

Best regards,

Michele

P.S. Please find the script attached.

Comments

  • Hi @michelescandola ,

    The problem comes from your sketchpads. In some of them you had keypress set for duration; touching the screen won't be counted as a keypress. Just replace keypress by 0 and make sure to have a touch_response block after.

    I have attached the experiment below that works on mobile devices.

    Silk--

  • Dear Silk,

    thank you very much for your prompt response.

    I am so embarrassed that it was so obvious...

    Bests,


    Michele

Sign In or Register to comment.