Howdy, Stranger!

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

Supported by

Mouse and foot pedal response set up

Hi everyone!!!

I’m building a visual experiment in which participants see a series of pictures.
In every single trial, I deliver a tactile input to the subject when the visual stimulus is located in different spatial points. In every trial, the task is to respond as fast as possible by pressing a mouse OR foot pedal.
So, the questions are:
1. Is it possible to program an experiment with both hand & foot pedal set up?
2. If the dual setup is possible, do I use mouse_response for the hand and joystick_response for the foot? Or both using mouse_response?

Please advice.



  • Hi Isak,

    This should be doable, but how depends on the device. More specifically, how do they connect to the computer? It could be, for example, that they work just like a keyboard, in which case you can use a keyboard_response, or that they work just like a joystick, in which you can use a joystick_response. Or perhaps they require some custom Python code.

    Because these are non-standard devices, this entirely depends on how they have been designed. So I would start by figuring out how the devices work, and then see how you can apply this in OpenSesame!


    Buy Me A Coffee

  • Hi Sebastiaan,

    Thank you very much for your response! Yes, I found out that it could work like a keyboard.
    Beyond the response, I am desperately needing any assistance in building the block loop of my experiment sequence. I have watched numerous tutorial videos, but perhaps due to my zero experience in programming, I continuously have a difficult time creating my experiment.

    Basically, I have 96 pictures of athlete (Federer and Messi) that the participants will have to look and respond with either hand or foot pedal. My independent variables are an athlete (Federer or Messi), action (in-action or out-of-action; i.e., kicking a soccer ball or simply standing in a soccer field), and sport (congruent vs. incongruent sport; Messi playing soccer vs. Messi playing Tennis). I am perplexed of how to correctly set up the block loop and also have a randomized display of each picture through a sketchpad.

    Any assistance would be greatly appreciated...


  • This sounds like a fairly straightforward full-factorial design, where all combinations of independent variables occur.

    Any assistance would be greatly appreciated...

    Why don't you first try to set this up yourself and see how far you come. :wink: Then, if you get stuck, you can of course post a question here with a detailed explanation of what you've done so far, what you want to accomplish, and why your current approach doesn't work.

    Buy Me A Coffee

  • Thank you so much. Thankfully I think I have the full paradigm set up, but I am confused with one response feedback. If the participant has only 2000ms to respond to the picture stimulus, could I ask how I can set up the sketchpad response so that the error message ("No response") displays only if the subject fails to respond within that 2000ms?

  • I have tried this run if statement on the sketchpad sequence [correct] = 0 and [response_time] > [max_response_time] but doesn't seem to work...
    So far I have three sketchpad for correct and incorrect feedback, and lastly no response.
    For the correct I did [correct] = 1
    and for the incorrect I did [correct] = 0
    Those two works perfectly fine but I am having a very difficult time with the no response one.
    Any help would be greatly appreciated.

  • Those two works perfectly fine but I am having a very difficult time with the no response one.

    When a response time-out occurs, the response variable becomes None, as if the participant pressed a None key, so to say. You can check this with the following run-if statement: [response] = None.

    See also:


    Buy Me A Coffee

  • Thank you so much! [response] = None worked perfectly!

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