You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get the latest commit you then need to update the submodule with the information
76
+
To get the latest commit you then need to update the submodule with the information
77
77
on its remote repository and then merge those locally.
78
78
```bash
79
79
git submodule update --remote --merge
80
80
```
81
81
82
-
Remember that updates to submodules need to be commited as well.
82
+
Remember that updates to submodules need to be committed as well.
83
83
84
+
#### Example for submodule usage
85
+
86
+
So say you want to clone a repo that has some nested submodules, then you would type this to get the content of all the submodules at once (here with my experiment repo):
pros: in principle, downloading the experiment you have the whole package plus the benefit to stay updated and use version control of this dependency. Can probably handle a use case in which one uses different version on different projects (e.g. older and newer projects).
@@ -146,9 +169,9 @@ cfg.debug.transpWin = true;
146
169
cfg.debug.smallWin = true;
147
170
148
171
% cfg.text
149
-
cfg.text.font
150
-
cfg.text.size
151
-
cfg.text.style
172
+
cfg.text.font
173
+
cfg.text.size
174
+
cfg.text.style
152
175
153
176
% cfg.color
154
177
cfg.color.background
@@ -157,15 +180,15 @@ cfg.color.background
157
180
cfg.screen.monitorWidth
158
181
cfg.screen.monitorDistance
159
182
cfg.screen.idx
160
-
cfg.screen.win
161
-
cfg.screen.winRect
162
-
cfg.screen.winWidth
163
-
cfg.screen.winHeight
164
-
cfg.screen.center
183
+
cfg.screen.win
184
+
cfg.screen.winRect
185
+
cfg.screen.winWidth
186
+
cfg.screen.winHeight
187
+
cfg.screen.center
165
188
cfg.screen.FOV
166
-
cfg.screen.ppd
167
-
cfg.screen.ifi
168
-
cfg.screen.monRefresh
189
+
cfg.screen.ppd
190
+
cfg.screen.ifi
191
+
cfg.screen.monRefresh
169
192
170
193
% cfg.audio
171
194
cfg.audio.do
@@ -177,7 +200,7 @@ cfg.audio.fs
177
200
cfg.audio.channels
178
201
cfg.audio.initVolume
179
202
cfg.audio.pushSize
180
-
cfg.audio.requestOffsetTime
203
+
cfg.audio.requestOffsetTime
181
204
cfg.audio.reqsSampleOffset
182
205
183
206
% cfg.mri
@@ -220,8 +243,8 @@ It is wrapper function to use `KbQueue` which is definitely what you should use
220
243
221
244
You can easily collect responses while running some other code at the same time.
222
245
223
-
It will only take responses from one device which can simply be the "main keyboard"
224
-
(the default device that PTB will find) or another keyboard connected to the computer
246
+
It will only take responses from one device which can simply be the "main keyboard"
247
+
(the default device that PTB will find) or another keyboard connected to the computer
225
248
or the response box that the participant is using.
226
249
227
250
You can use it in a way so that it only takes responses from certain keys and ignore others (like
@@ -233,7 +256,7 @@ In brief, there are several actions you can execute with this function.
233
256
234
257
- init: initialize the buffer for key presses on a given device (you can also specify the keys of interest that should be listened to).
235
258
- start: start listening to the key presses (carefully insert into your script - where do you want to start buffering the responses).
236
-
- check: till that point, it will check the buffer for all key presses.
259
+
- check: till that point, it will check the buffer for all key presses.
237
260
- It only reports presses on the keys of interest mentioned at initialization.
238
261
- It **can** also check for presses on the escape key and abort if the escape key is part of the keys of interest.
239
262
- flush: Empties the buffer of key presses in case you want to discard any previous key presses.
0 commit comments