Subject: Serial Mouse-- how to.
To: None <atarix@phil.uni-sb.de>
From: DieBartDie <asx@ccnet.com>
List: port-atari
Date: 08/05/1995 11:37:06
I've got a IBM serial mouse plugged into serial2 (which NetBSD supports) 
but I cannot seem to be able to read anything off /dev/ser02 or 
u:\dev\serial2 (MultiTOS.)

The code:
ser2 = open ( "/dev/ser02" or "u:\\dev\\serial2", O_RDONLY );
while (1)
{
	read( ser2, buf, 9 );
	buf[9] = 0;
	printf( "got: %s\n", buf );
}

I do not get anything.


By the way, how does one read the atari mouse?  Via /dev/mouse and by 
u:\\dev\mouse?   A simple while() loop suffices or is it a bit more 
involved?

Thanks.

 -------------------------------------------------------------//
Cannot locate signature.list: File not found.
error in line 34 loopsign.