Howdy, Stranger!

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

Supported by

Mouse Location Not Resetting Correctly

Hey everyone,

Currently I am creating an OpenSesame experiment using an Eye-Link eye tracker. Each trial of the experiment displays a canvas containing a grid of tiles, and after the participants finish searching this display they press the spacebar. When the spacebar is pressed, the display changes to showing their mouse. They then use their mouse to select a tile in the display.

I've been able to get the all of this working using mostly in-line code. However, I can't seem to get the mouse to appear in its correct starting location each trial. Whenever the mouse appears, it appears in the location of the participant's previous mouse click from the previous trial (not the mouse's last location before the next trial, but the mouse's last click location). As soon as they move the mouse, it jumps to the starting location I have set in my script for the mouse. Interestingly, this problem ONLY occurs when running the experiment with the eye-link. If I run it on another desktop without the eye-link, the mouse always appears in the correct assigned starting location (maybe has something to do with how the mouse is displayed in dummy modes?).

I've attempted a number of fixes, this one seemed most intuitive to me but does not seem to work:

selection_mouse = Mouse(buttonlist=[1], visible=False, timeout=None)

selection_mouse.set_pos(pos=(380, 200))

selection_mouse.show_cursor(show = True)

c.show()


I've tried using the .flush() function in different parts of the code, I've tried setting the position and then overwriting the previous mouse element with a new one, but in any case, the program always seems keen on retaining that previous mouse click. The goal is to have the mouse appear at the coordinates (380, 200), but instead the mouse will appear at the previous click location and then jump to the coordinates (380, 200).

Any help people can provide would be much appreciated!

Comments

  • Hi,

    the dummy code could indeed cause these issues. Hard to tell though...

    But when you say the problem occurs only if an eyelink is installed on the machine, do you actually track the eyes or do you use the dummy mode? If dummy mode, does the problem also occur if you set it to the track eyes?

    I don't really know how to fix it, but I do remember, setting mouse parameters (visibility, position, etc.) can be quite an unpredictable pain.


    Eduard

    Buy Me A Coffee

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