Group: Forum Members
Posts: 14,
Visits: 80
|
Original script from inquisit used keyboard as an input device, and I'm trying to change input device to mouse. Scancode for space key was 57, but I can't find any scancode for mouse left button. I tried 84 and 85, but it didn't worked. Following is part of the original script (Go-nogo task), and it's coding correct response using scan code (0=noresponse, 57=space bar). How can I code 'left mouse down' with a number?
<list correctresp> / items = ( 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0, 57,57,57,57,0,
0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57, 0,0,0,0,57) / selectionmode = list.soa.currentindex </list>
|