View Single Post
Old 08-20-2014, 05:41 AM
armo armo is offline
Join Date: Mar 2014
Posts: 21
Dear all

Thanks for the reply. There is no problem for me about updating my code but I would ask you if I can still use the "response.time" variable as it was written in the snippet above in order to calculate user's reaction time and the "response.button" in the snippet below to obtain the mouse button:

if response.button == viz.MOUSEBUTTON_LEFT:
    outResponse = "left response"
elif response.button == viz.MOUSEBUTTON_RIGHT:
    outResponse = "right response"

regards, armo
Reply With Quote