Howdy, Stranger!

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

Supported by

Keyboard stops responding

Hello everyone!

We are running an experiment in OpenSesame for a group of children all at the same time. In each session, a few keyboards (3, 4 or 5 even) suddenly stop working. If we exit OpenSesame, we can see that the keyboards are in fact working, but going back into the experiment, they are not responsive. If we stop the experiment and run it again, the issue is no longer there. This has happened at different points in the experiment and on different computers (some with wireless keyboards and some with normal keyboards). Has anyone come across this before? Any idea of why this might happen?

Comments

  • Hi Simona,

    The first thing that comes to mind is that some application running in the background might steal the focus on OpenSesame, and hence OpenSesame no longer receives keyboard events. If that's true, then switching away from the OpenSesame window (Alt+Tab) and switching back to it should solve the issue. Does that work?

    Cheers!

    Sebastiaan

  • Hi Sebastiaan,

    Thank you for your quick reply. We tried that and it doesn't work. When we switch away from the OpenSesame window (using Alt + Esc, or pressing on the Windows key), we can see that the keyboard works fine, but when we switch back to OpenSesame, the keyboard is still unresponsive (the Esc key on its own doesn't work either).

    Best,

    Simona

  • Hi Simona,

    In that case, another possibility that comes to mind is that the experiment uses an unconventional response device (maybe a joystick or mouse scrolling?) and that this sometimes results in so many response events that the event buffer overflows. And then everything stops working. This can be very unpredictable, because it tends to depend on what the participant exactly does at specific points in the experiment.

    If this is the case, this would be need to be fixed in the experiment. Could you attach the experiment here so I can take a look?

    Cheers!

    Sebastiaan

  • Hi Sebastiaan,

    Ahhh I see, that might be it! I don't think the mouse scroll button has been deactivated (they only use the mouse and keyboard, no joystick). Do you think by simply deactivating the mouse scroll button that issue would be resolved? Please find attached a copy of our experiment.

    Thank you!!!

    Simona


  • Hi guys, a bit late but I would still like to chime in. With problems like these, it doesn't help that they can't easily be reproduced. I have yet to encounter the freeze as described above myself. The mouse scroll button is not actively used, but not disabled either, so this may be a factor. I have to find a way to exclude these events from the pygame event bus then. I did take care of flushing the events in the bus frequently, so I assumed that would empty the buffer once in a while.

    I think the experiment is too large to update here (9 MB), so I below is a OneDrive link through which the experiment can be downloaded.

    https://1drv.ms/u/s!AuZ-4EUKx9prlY4inNi_-e-ZDvyJJA?e=nI8z63

    Buy Me A Coffee

  • Hi Daniel,

    The experiment is too complex for me to understand. But to answer this question:

    I have to find a way to exclude these events from the pygame event bus then.

    You can control that with the pygame.event.set_blocked(), pygame.event.get_blocked(), and pygame.event.set_allowed() functions.

    By default, the mouse-motion events are blocked, but the rest is not. So if there's a very loose scroll button, I can imagine that this would fill up the event buffer.

    Cheers!

    Sebastiaan

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