Skip to content

Commit dbb8d78

Browse files
authored
Merge pull request #20 from CerenB/master
CPP_getResponseDemo function small fix
2 parents 47b29b6 + 86178aa commit dbb8d78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPP_getResponseDemo.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@
8787

8888

8989
% Check what keys were pressed (all of them)
90-
responseEvents = getResponse('check', cfg, expParameters, 0, 1);
90+
responseEvents = getResponse('check', cfg, expParameters, 0);
9191

9292
% The following line would only return key presses and not releases
93-
% responseEvents = getResponse('check', cfg, expParameters, 1 , 1);
93+
% responseEvents = getResponse('check', cfg, expParameters, 1);
9494

9595
% This can be used to flush the queue: empty all events that are still present in the queue
9696
getResponse('flush', cfg, expParameters, 1);

0 commit comments

Comments
 (0)