Commit 3eb46ede authored by Athena X's avatar Athena X

Update shift_key

parent 1aca4051
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy3 Experiment Builder (v2020.1.2),
on Thu May 14 17:58:22 2020
on Thu May 14 18:17:50 2020
If you publish work using this script the most relevant publication is:
Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, Kastman E, Lindeløv JK. (2019)
......@@ -881,13 +881,14 @@ for thisImage in Images:
cornerText.setText('', log=False)
#try:
# shift_flag
# print(shift_flag)
# print(True)
#except NameError:
# print("Name Error")
# shift_flag = False
#
## shift_flag
shift_flag
print("event: ")
print(event)
keys = event.getKeys()
if 'escape' in keys:
......@@ -1183,13 +1184,14 @@ for thisImages2 in images2:
cornerText.setText('', log=False)
#try:
# shift_flag
# print(shift_flag)
# print(True)
#except NameError:
# print("Name Error")
# shift_flag = False
#
## shift_flag
shift_flag
print("event: ")
print(event)
keys = event.getKeys()
if 'escape' in keys:
......
Imagefile,pre_PS_Post,Images.thisRepN,Images.thisTrialN,Images.thisN,Images.thisIndex,image_ein.started,image_ein.stopped,image_7.started,image_7.stopped,key_resp_4.keys,key_resp_4.rt,key_resp_4.started,key_resp_4.stopped,image.started,image.stopped,answer,image_pre.started,image_pre.stopped,screenText.started,screenText.stopped,cornerText.started,cornerText.stopped,key_resp.keys,key_resp.started,key_resp.stopped,key_resp.rt,participant,session,date,expName,psychopyVersion,frameRate,
,,,,,,7.997036791002756,None,8.313080075000471,None,right,1.2568868870002916,10.063003016002767,None,,,,,,,,,,,,,,2,001,2020_May_14_1817,HoMer00baocun,2020.1.2,60.319902258536324,
images/vortest/pre1b.jpg,pre,0,0,0,0,,,,,,,,,10.063003016002767,None,,11.379047835399978,None,11.379047835399978,None,11.379047835399978,None,None,11.379047835399978,None,,2,001,2020_May_14_1817,HoMer00baocun,2020.1.2,60.319902258536324,
images/vortest/pre1c.jpg,pre,0,1,1,1,,,,,,,,,,,RageEW,11.412767401001474,None,11.412767401001474,None,11.412767401001474,None,right,11.412767401001474,None,3.4688534579981933,2,001,2020_May_14_1817,HoMer00baocun,2020.1.2,60.319902258536324,
images/vortest/pre1d.jpg,pre,0,2,2,2,,,,,,,,,,,,14.946009828003298,None,14.946009828003298,None,14.946009828003298,None,right,14.946009828003298,None,0.1697232679980516,2,001,2020_May_14_1817,HoMer00baocun,2020.1.2,60.319902258536324,
images/vortest/pre1e.jpg,pre,0,3,3,3,,,,,,,,,,,,15.179623076001008,None,15.179623076001008,None,15.179623076001008,None,right,15.179623076001008,None,0.11795391399937216,2,001,2020_May_14_1817,HoMer00baocun,2020.1.2,60.319902258536324,
This diff is collapsed.
Imagefile,pre_PS_Post,Images.thisRepN,Images.thisTrialN,Images.thisN,Images.thisIndex,image_ein.started,image_ein.stopped,image_7.started,image_7.stopped,key_resp_4.keys,key_resp_4.rt,key_resp_4.started,key_resp_4.stopped,image.started,image.stopped,answer,image_pre.started,image_pre.stopped,screenText.started,screenText.stopped,cornerText.started,cornerText.stopped,key_resp.keys,key_resp.started,key_resp.stopped,key_resp.rt,participant,session,date,expName,psychopyVersion,frameRate,
,,,,,,8.911747069996636,None,9.361016128998017,None,right,2.907859262999409,10.227810263997526,None,,,,,,,,,,,,,,3,001,2020_May_14_1816,HoMer00baocun,2020.1.2,60.06834588446062,
images/vortest/pre1b.jpg,pre,0,0,0,0,,,,,,,,,10.227810263997526,None,,13.194548440596918,None,13.194548440596918,None,13.194548440596918,None,None,13.194548440596918,None,,3,001,2020_May_14_1816,HoMer00baocun,2020.1.2,60.06834588446062,
images/vortest/pre1c.jpg,pre,0,1,1,1,,,,,,,,,,,RErbreqR up,13.227593031999277,None,13.227593031999277,None,13.227593031999277,None,right,13.227593031999277,None,5.0504176239992375,3,001,2020_May_14_1816,HoMer00baocun,2020.1.2,60.06834588446062,
images/vortest/pre1d.jpg,pre,0,2,2,2,,,,,,,,,,,,18.32757241299987,None,18.32757241299987,None,18.32757241299987,None,right,18.32757241299987,None,0.6387289909980609,3,001,2020_May_14_1816,HoMer00baocun,2020.1.2,60.06834588446062,
This diff is collapsed.
......@@ -1375,6 +1375,9 @@ function PreRoutineEachFrame(trials) {
}
_pj = {};
_pj_snippets(_pj);
shift_flag;
console.log("event: ");
console.log(event);
keys = event.getKeys();
if (_pj.in_es6("escape", keys)) {
core.quit();
......
......@@ -1375,6 +1375,9 @@ function PreRoutineEachFrame(trials) {
}
_pj = {};
_pj_snippets(_pj);
shift_flag;
console.log("event: ");
console.log(event);
keys = event.getKeys();
if (_pj.in_es6("escape", keys)) {
core.quit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment