PennController for IBEX › Forums › Support › Computer mouse-tracking
- This topic has 4 replies, 2 voices, and was last updated 2 years, 8 months ago by Jeremy.
September 11, 2020 at 10:02 am #6073rhododendronParticipant
Thank you so much for your help!
Ana-MariaSeptember 11, 2020 at 10:39 am #6074
There actually is a MouseTracker element in PCIbex, but it is not documented yet. Let me know if you’re interested and I’ll start writing the documentation. The only caveat is that it can quickly produce massive results files (because it stores coordinates every tens of milliseconds) so you want to make sure you only track during informative periods.
JeremySeptember 11, 2020 at 1:41 pm #6075rhododendronParticipant
Thank you so, so much for your answer! It was very helpful and I am so glad that there is a MouseTracker element in Ibex, since I would like to use that for my Master’s thesis. The point of the experiments that I will set up would be to get as close as possible to the visual world paradigm. In that sense, it would be beyond wonderful if there was some documentation available.
I am very thankful for your support and help!
Have a nice weekend,
Ana-MariaSeptember 11, 2020 at 3:56 pm #6076
Then you might also be interested in the EyeTracker element, although it’s important to note that it’s still very much an experimental feature and I don’t know that anyone has collected actual data with it yet (as noted on the linked page, one problem is cross-browser compatibility, which seriously compromises the recruitment of paid participants).
I’ll try to get to the documentation in the coming days, but you can already use the MouseTracker element: it is included in PennController, there’s just no documentation entry for it at the moment. Here’s an example of how to use it in one trial:
newTrial( newButton("Start").print("center at 50vw", "middle at 50vh").wait().remove() , newMouseTracker("mouse").log().start() , newCanvas("left", "40vw", "40vh").css("background","red").print("center at 25vw", "middle at 50vh"), newCanvas("right", "40vw", "40vh").css("background","blue").print("center at 75vw", "middle at 50vh"), newSelector("choice").add( getCanvas("left") , getCanvas("right") ).log().wait() , getMouseTracker("mouse").stop() )
JeremySeptember 14, 2020 at 1:31 pm #6119
- You must be logged in to reply to this topic.