Detecting current (mouse) button state


Author
Message
Sercan
Sercan
Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)Partner Member (953 reputation)
Group: Forum Members
Posts: 25, Visits: 120
I'm building a version of the Approach Avoidance Task for tablets that needs to throw an error message whenever the participant lifts their finger up from the screen. I could program this by specifying lbuttonup as a valid response for each trial and branching to an error screen whenever that is the response. However, that would require a rather tedious rework of my current script that I would rather avoid; after all, those same trials use the isvalidresponse attribute which I would then have to drop somehow.
Thus I would like to be able to check at the end of each trial whether the left mouse button is currently being pressed or not. Is it possible to get this information in inquisit 6?


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search