Howdy, Stranger!

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

Supported by

Touch responses wrong when cursor not showing with Xpyriment, crashes with PsychoPy

I have made an task using Xpyriment, where in each trial participants release the space bar and then touch the screen in response to the stimuli (to get two types of RT). When using Xpyriment, it works fine when the cursor shows on the screen, however, when I try to uncheck the box 'Show cursor' for the touch response item and then run the experiment, the touch screen coordinates are wrong.
I read this thread, so tried to run the experiment with PsychoPy, however now the experiment is not running properly. It crashes at the first time it tries to record a key release, when I use PsychoPy.
Does anyone know why this might be? And is there a way to have my experiment run properly without showing cursor but with the correct touch response coordinates?


  • Hi bal,

    Do you have an error message for us? Maybe you could also upload your experiment. Without having a little more detail it is hard to help you (unless of course someone run into the same issue before).


    Buy Me A Coffee

  • Hi Eduard,

    Thanks for offering to help.

    Here is a screenshot of the error message I get when I try to run it with PsychoPy. Not sure if this can tell us anything about what is going wrong?

  • Hi,

    Here a little excerpt from the documentation:

    function Mouse.get_click_release(**resp_args)
    New in v3.2.0
    Collects a mouse-click release.
    Important: This function is currently not implemented for the psycho backend.

    So, psychopy is not really an option for you. We can try to fix what is wrong with expyriment, but then again, we need more details on the issue (see above)


    Buy Me A Coffee

  • Thanks for your quick reply.
    I see, so I cannot use the key_release function with PsychoPy and I cannot use the touchscreen while hiding the cursor with Xpyriment. I would really like both of these functions in my experiment, as it is important for me to record the moment the participant releases a key as well as the correct coordinates that they touch on the screen. I need to hide the mouse because when it is not hidden it pops up on the screen and could be a distraction that could alter the RT data.
    I wonder if there is any other option in this case?
    I just thought about whether I could change the cursor to black, which would make it appear invisible in the experiment, but I just read these threads ( and it seems that it is difficult to do that.
    I have attached my experiment in case you can find any other solution by looking at it.
    Thanks again for your help!

  • Hm, that is annoying. When I try the experiment myself, I don't see the cursor. So basically, it works like it should be. Which tablet are you working with and which operating system do you use?


    Buy Me A Coffee

  • That is strange! I'm working with an ELO 2201L touchscreen monitor with Windows 7 (I think - I would need to double check the version of windows but I'm not at that computer right now).

  • edited August 2018

    Hi bal,
    I was planning something similar with touchscreen, but have not tested the mouse(visible=False) on the touchscreen yet. Lifting the hand from the touchscreen does work! :smiley:
    I'll upload part of my script. Maybe this piece of code can help you.

    By the way: If you set the cursor into the middle of your button, it should not distract very much. If you have, two buttons however... well...


  • edited August 2018

    upload did not try

  • Thanks DahmSF. However I am not very good with code so I am struggling to see which part of your code might help me. I do indeed have more than one touch screen button, which makes things difficult!

    Since Eduard was able to run the experiment without the mouse appearing on his machine, I tried to run my experiment on another touch-screen laptop (with the same screen resolution), and the mouse does not appear, but now the experiment is not presenting properly in full screen, see photo:

    I'm not having much luck with this experiment! Is there anything else I can do to get the experiment to run on my original machine (Windows PC with touchscreen monitor) without the mouse showing? Any way I can change to cursor to black or something?

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games