September 20th, 2013, 02:55 PM
Help! Psych Student Looking For Help
I'm trying to prepare an experiment for my senior thesis, and my advisor and I have run into a problem: we need to record participant response time via a joystick (they respond to one stimuli by pushing the joystick and the other category by pulling), but the program we normally use, SuperLab, doesn't communicate with joysticks at all (nor DDR mats, which is another option 'cause of the directionality). We're looking into other programs but aren't sure how we could map a joystick such that the direction of the response is recorded. Any thoughts? I've never programmed before myself, so I need to learn it all, but is this something that can be done? If so, how?
September 20th, 2013, 03:46 PM
pygame has a joy stick module.
timing is so easy with python that some people can do it.
Someone can probably can access a joystick in unix through the /dev directory or perhaps /media in linux for an USB device.
[/code] are essential for python code and Makefiles!