Group: Forum Members
Posts: 22,
Visits: 376
|
Hi,
I have been trying to find a way around mouse tracking and while I was playing around with a script I realized that I get a lot of wrong coordinates for 'responsey'. I tried to figure out what -1 means and I have read other posts that have described problems with using two monitors or having the wrong canvas position, which needs to be set to 50%, 50%. I have controlled for both of these problems but the problem persists.
While I was thinking of possible reasons, I tried stopping the mouse at certain time points to see if the coordinates are accurate (i.e., don't change).The result was that I got a lot of -1 values in my data output. However, I am not 100% sure that this was caused by stopping. Do you think that makes sense? I mean, even if it stops we should still get the coordinates. Unless responsey differs from mouse.y in some way so that it needs some kind of response to be registered (i.e., mousemove). To elaborate more, my 'theory' is that if for the whole trial (=10 stimulus frames- 166.7 ms) the mouse did not move responsey would be -1 instead of the exact pixels.
In the script I am working on each trial event is equal to 10 stimulus frames (arbitrary number used for testing purposes). If a target is not reached the next trial event is loaded through the branch command. For each trial I record a value for the y coordinate (responsey) so that I can plot the trajectory of the mouse for let's say 1800 milliseconds (~108 frames). Of course if I tried to do that for every frame I would end up writing 108 trial events...
That leads me to the second question. I know it has previously been stated that continuous mouse tracking is not possible with Inquisit yet, but if this is a potential solution to getting at least some coordinates for a mouse trajectory do you think there is a 'neater' way to do it so that I don't end up with a massive script!?
P.S. The script is not very good at the moment, but if it would help to have a look at that I could attach it.
Thank you for any input,
Loukia
|