Howdy Folks:
I have recently written an input driver for XFree86 4.3.x for the USB-based
touchscreens made by ELO Graphics (2500U-series controllers). At present, I
have successfully tested the driver on several systems using Linux with
XFree86 4.3.0. The sources can be found here:
ftp://ftp.salemradiolabs.com/pub/srlabs/eloinput/
I have a couple of questions on how to proceed that perhaps some of the more
knowledgeable folks who hang out here could help me with:
1) LINUX DEPENDENCIES
The driver depends upon the Linux USB HID layer for proper operation. What is
the proper way to include system specific headers (just 'linux/input.h',
really) without breaking other platforms?
2) BUILD SYSTEM
At present, I am getting the driver to build by putting it into a
'programs/Xserver/hw/xfree86/input/eloinput/' directory and then simply adding
an 'eloinput' to the 'SUBDIRS =' line in 'programs/Xserver/hw/xfree86/input/
Imakefile'. This is clearly incorrect, but I am not enough of an Imake
expert (a complete beginner, in fact) to be able to find the 'correct'
location. Where should this go?
Any help would be appreciated. For those interested, I have also written a
small touchscreen calibration utility (requires Qt 3.x). This utility has
been successfully tested with both serial (2500S controller) and USB (2500U
controller) ELO models. The sources can be found at:
ftp://ftp.salemradiolabs.com/pub/srlabs/elocal/
Cheers!
|-|
| Frederick F. Gleason, Jr. | Director of Broadcast Software Development |
| | Salem Radio Labs|
|-|
| ...one of the main causes of the fall of the Roman Empire was that,|
| lacking zero, they had no way to indicate successful termination of|
| their C programs. |
|-- Robert Firth |
|-|
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel