Updated Touch Driver

https://www.ghielectronics.com/community/codeshare/entry/332

When something just works, you tend not to mess with it too much. I’ve been using my same touch driver for over 4 years now with only minor updates (like saving/retrieving configuration from a file instead of EWR).

Well, that code was bollocks. It created a new thread to monitor touches, it wasn’t as good at gestures as it could have been, and so on. New version doesn’t require a new thread, can use EWR/File/Direct Data for configuration, has a configuration screen built in and just works. It [em]should[/em] be faster than the old way too, but I haven’t done any timing tests yet.

We’ll revisit this again in another 4 year.

Edit: Gestures also give you a start and end location with this driver. I have uses for it. You’ll probably find some too. :wink:

5 Likes