view listeningTest/multiComp/TpushKey.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
line wrap: on
line source
function TpushKey(hfig)

dat=get(hfig,'userdata');

cobj=get(hfig,'currentObject');

ckey=get(hfig,'currentcharacter');

switch ckey

case ' '
   set(dat.hIcon,'backgroundcolor',[.6 .9 .6]);
   wavplay(0)	
end