%
% Test joystick dll's (up to 2 joysticks)
%
fprintf('\n Type ctrl-C to stop\n')
done=0;
figure(1)
clf
while done==0; 
    joy1=jst;
    joy2=jst2;
    plot(joy1(2),-joy1(1),'b+',joy2(2),-joy2(1),'ro');
    axis([-1 1 -1 1]);
    drawnow
end