On Tue, 2006-01-31 at 08:44 -0700, Shaun Jackman wrote: > Is there a touch screen calibration utility for DirectFB? The Liyitec > touch screen has a Linux input event driver, which puts out 10-bit > absolute X and Y coordinates in the range of 0-1023. Before > calibration, it uses a small rectangle somewhere in the middle of > these values, which needs to be calibrated to the screen coordinates.
I've written one for the Gunze touch screen. Well I didn't write it, but I ported over their code to my application. The DirectFB driver was ported over at the same time, and gave co-ordinates in a 0-1023 manner as well. The driver with reading the calib code is in the DirectFB cvs tree. If you need my calibration code let me know and I'll send you the DFB calibration code I wrote for it. -- Nathanael D. Noblet Gnat Solutions http://www.gnat.ca/ T 250.385.4613 C 250.893.4613 _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
