annotate listeningTest/pairComp/pairKey.m @ 1:b64c9fb34bd0

Response folder included in package (put README in it).
author Brecht <b.deman@qmul.ac.uk>
date Wed, 30 Jul 2014 12:38:47 +0100
parents 4fd284285159
children
rev   line source
b@0 1 function pairKey
b@0 2
b@0 3 hf=gcf;
b@0 4 c=get(hf,'currentcharacter');
b@0 5 switch c
b@0 6 case '4' % left play A
b@0 7 PCpush(hf,1);
b@0 8 case '6' % right play B
b@0 9 PCpush(hf,3);
b@0 10 case ' ' % space stop
b@0 11 PCpush(hf,2);
b@0 12 end