Howdy, Stranger!

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

Supported by

Blocking a keyboard-response - Question


I am working on a simple reaction time experiment. The participants are supposed to press the Space bar in the interval of one second as accurately as possible. After the practice trial, i build in a scetchpad for 5 seconds which should be a signal for the participants to stop pressing the Space bar. After that another sketchpad follows, which contains the instructions for the following experimental trial. This one should be ended via a keyboard reponse (Space). I noticed that the second sketchpad is skipped when I press the Space bar during the time in which the first sketchpad (the one which is shown for 5 seconds) is shown. This should not be the case. Can anyone tell me whether it is possible to block the keyboard response for the first sketchpad so that the second sketchboard is not skipped when someone (accidently) presses Space?


  • Hi @SQuestion,

    Not entirely sure I understand your description and how you implemented the task (whether you're using keyboard_response objects, for example). A little difficult to answer without more information or seeing the task. Do you present sketchpad for a duration of 0ms and then collect a response using a keyboard_response object? Are you using an advanced_delay object to create the 5 sec interval? Do your keyboard_response objects have the "flush pending key events" enabled? Do you specify allowable responses? Are you running the task in a OS window or in a browser?

    Without knowing more about the implementation of your task, my advice would be to make sure to use keybpard_response objects where you specify the allowable response, make sure to enable the "flush pending key events", and make sure to use an allowable response that excludes the space bar after the sketchpad you do not want to go away if the participant presses the space bar.

    Hope this helps.



    Buy Me A Coffee

  • To second Fabrice's remark, it would be easier to help you if we had more information about the implementation. Could you maybe share your experiment or make a few screenshots? The way I understand your description is that you have 2 sketchpads back to back, one with duration set to 5000, the other to keyboard ? If so, that something is weird, because that should work (and does work when I try it).

    Once you provide more info I'm sure we can figure this out.


    Buy Me A Coffee

  • thank you so much, i managed to solve the problem!

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