Howdy, Stranger!

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

Supported by

Problem visualizing the mouse while presenting stimuli and collecting mouse clicks.

I am collecting mouse clicks using an inline script during stimulus presentation.
The script looks something like this:
while elapsed_time < Timeout:
my_mouse.flush()
my_mouse.show_cursor(show='true')
button, position, clicktime = my_mouse.get_click(timeout=Timeout - elapsed_time)
........
The reason I flush the mouse is that was the only way I managed to get the clicks I wanted in each cycle of the "while" loop, and I added my_mouse.show_cursor(show='true') because I thought the flush changes the definition that the cursor should show.

What happens is that a stimulus is presented, for a short flash you can see the mouse, and then it disappears until you click on the stimulus somewhere... then it reappears for a short flash and disappears again...

My final goal is to record mouse clicks on a stimulus presented but the subjects need to see the cursor to know where they are pressing.

THANKS!!

Comments

  • Hi,

    Can you try replacing my_mouse.show_cursor(show='true') with my_mouse.set_visible(True)?

    Eduard

    Buy Me A Coffee

  • Thank you so much!!!
    I searched the internet for such a long time and didn't see that option in any explanation...
    do you know where I can find such info in the future?

    Best regards,
    Carmel

  • Normally, the manual page (osdoc.cogsci.nl) is the place to look. But for some reason the function set_visible() is not mentioned there. If you can't find info there, just browse the forum (or ask a question).

    Buy Me A Coffee

  • hi everyone, hi @eduard,

    this is a bit of a different problem but since it has to do with mouse response visibility, I'm posting it here:

    What I need to implement is to show the position of a mouse click when recording it:

    In a rating task, participants are asked to select a coordinate based on how far they go on the x- and y-axis with the mouse cursor. Having some experience with OS, we set this up successfully (yeah!). I attached the experiment draft as is:

    Now because there is no image that the mouse response could select, and because the task is a bit weird without seeing where they clicked, we want the "spot" that was clicked on the spreadsheet to become and remain visible on screen until they proceed to the next item. It could be an X or dot or the coordinate pixel/square being colored, just any visible instant feedback to participants on where exactly they clicked.

    Is there a code snippet similar to my_mouse.set_visible(True) but for the respective mouse response on screen?

    We gave each coordinate a name to later identify the area, if that helps to select and show it for their response.

    Hope someone here knows how to do the trick!

    Best,

    Christin

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 http://45.77.173.118/ 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