psychopy.org | Reference | Downloads | Github

Gamepad/pyglet/pygame

Hi there!

I’m new on PsychoPy and on Python. I have built an experiment using the builder view. I would like to use a joystick for collecting responses. I have heard about gamepad-related issues. Did someone find a solution?

Irene

As far as I know this is still the state of the art.

Thank you for your reply!

I would to try it and see what happens. I built my experiment in the builder. Can I insert these scripts in a code component or do I have to insert them in the coder?

Irene

You’ll definitely have to do it in the coder, in fact I’m not sure you can make it compatible with a builder-based study at all because it requires re-initializing the joystick on every frame.

What do you mean with re-initializing the joystick on every frame?