Howdy, Stranger!

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

Supported by

PowerMate response button

Hello everyone!

I am trying to use an external response button in my experiment, and more specifically Griffin PowerMate 2.0. I have created my experiment with Opensesame 4.0. The response button seems to work (i.e. when i write inline script and press the button the keypress works) however, when i run the experiment and use it as response it doesn't work.

I tried it in an experiment with Opensesame 3.9 and it worked. Do you have any idea what may causes this problem with the 4.0?


Thank you in advance.

Rania

Comments

  • Hi @rania_tach ,

    If my understanding is correct, the Griffin PowerMate 2.0 simulates a keyboard or mouse, which means that you do not have to do anything specific to make it work with OpenSesame (any version). If your experiment used to work in OpenSesame but doesn't work anymore in OpenSesame 4, then likely the compatibility issue lies elsewhere. Without seeing the experiment it's impossible to say though. Maybe you can upload the experiment here (or a simplified version of it that illustrates the issue)?

    — Sebastiaan

  • Hello Sebastiaan,

    Sorry for the delay in responding! Yes exactly, the Griffin PowerMate 2.0 simulates a keyboard in my case. My experiment is an rsvp task and the participants have to press a key as long as they see the target. You can see here a version of the experiment in OS 4. When i use the computer keyboard it works.

    Again thank you so much for your time.

    Best,

    Rania


  • Hi @rania_tach ,

    There is some room for improvement, notably by filtering out the None responses that you get when there's a timeout. But other than that this looks ok. I suspect that this issue lies elsewhere, not in the experiment or in the transition to OpenSesame 4. If the PowerMate simulates a keyboard, you should also be able to use it as keyboard input in other applications. Does that work?

    — Sebastiaan

  • Hi Sebastiaan,

    yes exactly the Powermate works fine in other applications and also in Opensesame 4 but not when the experiment runs. For example, when i write a script and use the powermate as a key, it works fine. But when i use it as keyboard response it doesn't work. I also tried it in a different experiment to see if the issue was in this rsvp but again it didn't work.

  • Ok, that's odd. Let's try to understand what kind of keys the powermate returns exactly. What do you see if you collect a number of button with a simple test script that prints out both the key and the type of the key variable?

    kb = Keyboard()
    key, timestam = kb.get_key()
    print(f'key: {key}, type: {type(key)}')
    
  • Hi Sebastiaan,

    so i checked this code and it printed key: space, type: <class 'str'> (i have set it to work as 'space' so it works as expected!!). However, again when i try to use it inside an experiment it doesn't work. I created this simple sketchap that proceeds with keypress to test it and it doesn't work. It is really weird i can't find where the error occurs.

  • So just to clarify for me: when inside the same experiment you collect a key press using an inline_script it works, but if you try to collect a key press using a keyboard_response item it doesn't? If that's the case, I really have no clue what might be happening, because a keyboard_response behind the scenes is doing the exact same thing as the inline_script .

  • Oh no sorry for the misunderstanding! It doesn't work while the experiment is running either if i have a keyboard with inline skript or a keyboard_response item. It might be something wrong with the specific button i can't imagine anything else at this point! I turned my experiment back to OS 3.3.9 and it works but just out of curiosity i will try to think what goes wrong. Also, I will try to see if there is any updates for the Powermate's software that could help.

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