We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717ce87 commit 2842d2aCopy full SHA for 2842d2a
initPTB.m
@@ -56,7 +56,7 @@
56
57
58
%% Keyboard
59
-initKeyboard(cfg)
+initKeyboard
60
61
62
%% Mouse
@@ -192,6 +192,8 @@ function initDebug(cfg)
192
fprintf('########################################')
193
fprintf('\n\n\n\n')
194
195
+ testKeyboards(cfg)
196
+
197
end
198
199
if cfg.testingTranspScreen
@@ -200,14 +202,12 @@ function initDebug(cfg)
200
202
201
203
204
-function initKeyboard(cfg)
205
+function initKeyboard
206
207
% Make sure keyboard mapping is the same on all supported operating systems
208
% Apple MacOS/X, MS-Windows and GNU/Linux:
209
KbName('UnifyKeyNames');
210
-testKeyboards(cfg)
-
211
% Don't echo keypresses to Matlab window
212
ListenChar(-1);
213
0 commit comments