Hi,
I'm new user of Inquisit and I need to do an experiment with joystick. I need script which works with joystick (USB). On the screen supposed to be something like this (kind of bar):

When I push joystick, this bar supposed to go up of the screen and when I pull joystick, this bar supposed to go down of the screen. I need effect of distance. If the bar is on the top, it means it's far, it's smaller etc.
With this I need also to count time, which starts when I push/pull joystick and stops when the bar will "touch" the end of screen.
Can anybody help me with this?:)