function dummy = keyevent(sisodb)
%KEYEVENT  Processes keyboard entries.

%   Author(s): P. Gahinet
%   Copyright 1986-2000 The MathWorks, Inc. 
%   $Revision: 1.4 $  $Date: 2000/08/08 19:54:39 $

% REVISIT
dummy = [];

Key = abs(get(sisodb.Figure,'CurrentCharacter'));

if ~isempty(Key) & ~any(strcmp(get(sisodb.PlotEditors,'EditMode'),'off'))
    switch Key
    case 27 % Escape
        % Return to idle mode in all editors
        set(sisodb.PlotEditors,'EditMode','idle');
        % Exit global modes
        send(sisodb,'LocalModeChange',...
            handle.EventData(sisodb,'LocalModeChange'));
    end    
end