﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Continuously Recording Joystick Movement</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 05 Apr 2026 20:00:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Continuously Recording Joystick Movement</title><link>https://forums.millisecond.com/Topic14693.aspx</link><description>Hello everyone,&lt;br/&gt;&lt;br/&gt;I am new to the forums so I apologize if I do not provide sufficient information up front, and I will provide any additional information that could help address this question if desired.&lt;br/&gt;&lt;br/&gt;My challenge:&lt;br/&gt;I want to set up a script that continuously (continuous meaning from the beginning of each trial to the end of each trial) records either: (A) joystick pov (indicated in hundredths of a degree clockwise from north away from the user (Inquisit Help)) OR (B) x and y coordinates of the joystick. The joystick that I am using is the Logitech Extreme 3D Pro.&lt;br/&gt;&lt;br/&gt;The experimental design is: the screen is split into 4 quadrants, in each trial we want to measure how much (and where) users move the joystick into a quadrant throughout each individual trial. &lt;br/&gt;&lt;br/&gt;Any ideas on how to record such movement? Either through manipulation of the joystick.x and joystick.y properties or through the joystick.pov property, but I am struggling to set up the code required to record such output. &lt;br/&gt;&lt;br/&gt;Any advice would be very appreciated as I am not the strongest programmer and am new to working with joysticks in Inquisit. &lt;br/&gt;</description><pubDate>Tue, 21 Oct 2014 15:04:07 GMT</pubDate><dc:creator>echarris128</dc:creator></item><item><title>RE: Continuously Recording Joystick Movement</title><link>https://forums.millisecond.com/Topic14694.aspx</link><description>If I'm not misunderstanding your setup, you would essentially have to do something along the lines of the scripts attached to this post:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost4421.aspx"&gt;https://www.millisecond.com/forums/FindPost4421.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;(Those deal with mouse coordinates, but the situation with a joystick would be largely analogous.)&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost13217.aspx"&gt;https://www.millisecond.com/forums/FindPost13217.aspx&lt;/a&gt; may also be of interest -- it illustrates a way to detect if the mouse is in a designated screen area.&lt;br/&gt;&lt;br/&gt;Taking a look at the Approach Avoidance Task scripts ( &lt;a href="https://www.millisecond.com/download/library/AAT/"&gt;https://www.millisecond.com/download/library/AAT/&lt;/a&gt; ) may also prove useful -- there's plenty of dealing with joystick coordinates in there. Hope this helps.&lt;br/&gt;</description><pubDate>Tue, 21 Oct 2014 15:04:07 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>