#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    1
    Rep Power
    0

    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?
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,963
    Rep Power
    481
    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]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo