Can X-Windows some API for working with touchscreens
or it's depend from particular touchscreen model?
eLo touchscreens & Intellitouch are compatible with XFree86, you may wanted to check their website.
http://www.elotouch.com/support/linux.asp
also this