Ok. John Laur fixed the ttykb driver, and I just fixed the vr3ts and serialmouse drivers. The input drivers should cooperate now :)
On 2001.11.11 16:08 Pascal Bauermeister wrote: > Hello, > > the input drivers that implement the "int fd_activate(int fd)" function > should really behave, otherwise bad things may occure if you have > multiple input drivers. > > In particular a driver should check the passed fd against its own fd, > otherwise it might read data from another device, harming it, and > possibly hanging itself if the other fd is blocking. It should also > return 0 if the fd does not match, and 1 otherwise. > > Currently these drivers misbehave: > vr3ts.c > ttykb.c > serialmouse.c > > > Well, I got aware of this while I was trying to understand what to do > with the fd's, until I studied pgserver/include/pgserver/input.h > > Regards, > > Pascal > > > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel > _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
