cool joystick!<div>when do you want to advance past the slide?  after any joystick movement?  could you just add a line to "Run" the next object in your procedure once joystick movement is detected and you've logged things like .RTTime and .RT, etc.?</div>

<div><br></div><div>ben<br><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 7:13 AM, Ben <span dir="ltr"><<a href="mailto:benhisattva@googlemail.com">benhisattva@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
We are trying to record the movement of the joystick without any<br>
button press. I found a script (see below) on this website, but it<br>
doesn't work properly. E-Prime does notice that you move the stick as<br>
the cursor moves with it (even if the stick itself is not part of the<br>
allowable keys), but it does not go to the next slide if you do not<br>
press a button and then move the stick. Has anybody an idea, this is<br>
completely counterintuitive to me..? Perhaps the problem is the<br>
joystick itself, which is pretty nostalgic: <a href="http://ecx.images-amazon.com/images/I/51rBHoEr0-L.jpg" target="_blank">http://ecx.images-amazon.com/images/I/51rBHoEr0-L.jpg</a><br>
Thanks in advance.<br>
<br>
Cheers,<br>
<br>
Ben<br>
<br>
---<br>
<br>
Dim nInitY As Integer<br>
Dim nCurrentY As Integer<br>
Dim nDiff As Integer<br>
nInitY = Joystick.CursorY<br>
Do<br>
   nCurrentY = Joystick.CursorY<br>
   nDiff = nInitY - nCurrentY<br>
Loop Until Abs(nDiff) > 50<br>
Stimulus.RTTime = Clock.Read<br>
Stimulus.RT = Stimulus.RTTime - Stimulus.OnsetTime<br>
If nDiff > 0 Then<br>
   Stimulus.RESP = "Up"<br>
Else<br>
   Stimulus.RESP = "Down"<br>
End If<br>
<font color="#888888"><br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</font></blockquote></div><br></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />