File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 5353% window size info
5454[cfg .winWidth , cfg .winHeight ] = WindowSize(cfg .win );
5555
56-
57-
58- % ---------- FIX LATER ---------- %
59- % I don't think we want to hard code the 2/3 here. We might just add it to
60- % the Cfg structure
6156if strcmpi(cfg .stimPosition ,' scanner' )
6257 cfg .winRect(1 ,4 ) = cfg .winRect(1 ,4 )*2 / 3 ;
6358end
64- % ---------- FIX LATER ---------- %
65-
66-
6759
6860% Get the Center of the Screen
6961cfg.center = [cfg .winRect(3 ), cfg .winRect(4 )]/2 ;
@@ -135,18 +127,8 @@ function initKeyboard(cfg)
135127% Apple MacOS/X, MS-Windows and GNU/Linux:
136128KbName(' UnifyKeyNames' );
137129
138-
139-
140- % ---------- FIX LATER ---------- %
141- % might be over agressive to test this at every PTB init maybe make it
142- % dependent on a debug "flag"
143-
144130testKeyboards(cfg )
145131
146- % ---------- FIX LATER ---------- %
147-
148-
149-
150132% Don't echo keypresses to Matlab window
151133ListenChar(-1 );
152134
You can’t perform that action at this time.
0 commit comments