On Wed, Mar 20, 2002 at 06:42:43AM -0500, "Latha" <[EMAIL PROTECTED]> wrote: > I want to write an LCD / Touch Screen Driver for Xfree86. > I thought the best approach would be to see a Mouse driver of > Xfree86. But i fail to get the flow of the Xfree86 architecture.
It depends on how the touch screen appears to the hardware, but in general the server opens up the device port and processes the data which flows from the pointer. If it's serial, look at how the MuTouch driver works. I've just finished code for the Semtech ScreenCoder. In the case of that device, the interface generates packets as if from a PS/2, Intellimouse PS/2, or Explorer PS/2 pointer, while merging packets from a "real" pointing device into that stream. Because of this design, I chose to extend the mouse.c code. I expect to release the patches in a day or so...now that everything works, I've been spending a little time cleaning them up. This code was developed for the ViewSonic ViewPad 1000, which is the only device I know which uses the Semtech ScreenCoder. If anyone knows of other systems using this device, and would like to check out the code, please contact me. Also, if anyone can give me an overview of how they believe calibration _should_ work, drop me a note. (At the moment, calibration is usable, but incomplete.) Randolph Bentson [EMAIL PROTECTED] _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
