Am Dienstag,  8. Januar 2002 15:38 schrieben Sie:
> I committed this change to CVS.
> Now the serialmouse driver works on my desktop machine, cool :)
> I had tried the original serialmouse driver on my desktop and couldn't
> get it to work, but didn't have time to debug it.

I have now again tried using the serial mouse driver (after working with sc3ts
in the meantime) and found that something went wrong with applying my patch
to CVS. The driver now has both the old and the new code with the result that
the cursor sometimes jumps around unpredictably. Please apply the patch below
on the current CVS.

Arnd <><

PS: My planar vga16fb driver is finally working at the speed I want, I think 
I can submit it RSN, after sorting out all the special cases with blit.

--- input/serialmouse.c Wed Jan 16 10:17:11 2002
+++ input/serialmouse.c.better  Wed Jan 16 10:17:44 2002
@@ -111,13 +111,6 @@
     return 1;
   pos = 0;
 
-  if (!read(mouse_fd,packet,1))
-    return 1;
-  if (!(packet[0] & 0x40))
-    return 1;
-  if (!read(mouse_fd,packet+1,2))
-    return 1;
-
   /* Get the cursor position in physical coordinates */
   cursorx = cursor->x;
   cursory = cursor->y;                                                       
  

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to