Linux Drivers for Lilliput Touchscreen
I was hacking a bit on my lilliput touchscreen last night, and managed to get screen coordinated from a userspace application. Incase anyone wants to look at the code, its here:
This helps to show how the thing works, but what we really need is a kernel driver. I have added this to my "to do" list, but it might take me a while. If anyone wants to take a shot at it, the usb interface is trivial. You aquire an interface, and read interrupt in requests (from the only endpoint) into an 8 byte buffer. Byte one tells you when the user lifted his/her finger. X coord = byte*128 + byte. Y coord = byte*128 + byte. There is a little extra work that needs to be done for calibration and deciding what is a click or a drag, but this should be easy.
If anyone would like to help, please drop me a note:
tomh at yourmom dot com