press events</span>
0270 <a name="_sub1" href="#_subfunctions" class="code">function keypress(varargin)</a>
0271 
0272 <span class="keyword">global</span> acq;
0273 keypressed=get(gcf,<span class="string">'CurrentCharacter'</span>);
0274 
0275 <span class="comment">% ignore raw control, shift, alt keys</span>
0276 <span class="keyword">if</span> keypressed;
0277     
0278     <span class="comment">% Offset changes</span>
0279     increment=1;
0280     <span class="keyword">if</span> strcmp( keypressed, <spa