Detect all touch screen monitors
Hello,
I recently bought this multi-touch monitor (writing on it right now :P), and am creating an application for it. Now I need to detect which screens are touch-enabled.
For example, I have the touch screen as my main monitor now, but I also have a secondary regular screen, I need the aplication to be able to detect which monitor has a touch screen, EVEN WHEN THE TOUCH SCREEN IS THE SECONDAY NONITOR!
I have searched all over the web, but since this is a relatively new technology, there's not alot about it.
Please help me,
-René
Re: Detect all touch screen monitors
I don't really want to do this, but.... Bump?
Re: Detect all touch screen monitors
it'd probably be best (done this at my company, as we use multiple touchscreens) to runa driver detector and have an event fire when a touchscreen is attached, however this (for our method) requires a running list of touchscreen drivers, i'm not really sure how to detect it through the D port since most touchscreens only send the touch info thru usb and not through vga. Either way it goes, i cant imagine (till tech upgrades) detecting the touchscreen monitor without a working list, wether its a list of drivers, or list of ts models, either way, i think you'll need your own in house list to do this since, as you said, the tech is so new
luckily .Net provides plenty of different easy ways to do system monitoring including a class for it, so detecting a driver being used (ie it's been plugged in or was plugged in already) is relativly easy to find info on, if i get time later, i'll post an example of how we search for our ts drivers, however it may be awhile, cause i dont remember it all by heart, and i cant post the class as it has alot of work related secrets on it.
Never the less, i'm pretty sure, driver detection is going to be you key here, or may simply want to monitor the process windows uses when a touchscreen is added, for example windows 7, reguardless of software, unless disabled, starts its own bg software whenever a ts device is found, so in essence, you could steal the information from their preloaded software
then again, i could be way off and somebody might have found somthing new, as we havn't updated this part of our lib since early last year, after all it works, so we decided to leave it be as it took us forever just to figure out our inhouse driver detector
Re: Detect all touch screen monitors
Quote:
Originally Posted by
spyk3
it'd probably be best (done this at my company, as we use multiple touchscreens) to runa driver detector and have an event fire when a touchscreen is attached, however this (for our method) requires a running list of touchscreen drivers, i'm not really sure how to detect it through the D port since most touchscreens only send the touch info thru usb and not through vga. Either way it goes, i cant imagine (till tech upgrades) detecting the touchscreen monitor without a working list, wether its a list of drivers, or list of ts models, either way, i think you'll need your own in house list to do this since, as you said, the tech is so new
luckily .Net provides plenty of different easy ways to do system monitoring including a class for it, so detecting a driver being used (ie it's been plugged in or was plugged in already) is relativly easy to find info on, if i get time later, i'll post an example of how we search for our ts drivers, however it may be awhile, cause i dont remember it all by heart, and i cant post the class as it has alot of work related secrets on it.
Never the less, i'm pretty sure, driver detection is going to be you key here, or may simply want to monitor the process windows uses when a touchscreen is added, for example windows 7, reguardless of software, unless disabled, starts its own bg software whenever a ts device is found, so in essence, you could steal the information from their preloaded software
then again, i could be way off and somebody might have found somthing new, as we havn't updated this part of our lib since early last year, after all it works, so we decided to leave it be as it took us forever just to figure out our inhouse driver detector
Thank you for your reply! I will definately check out the driver detection. I mainly needed to know WHICH screen is the touchscreen, not IF one was connected, but thanks anyways.
I have also found out that, if I leave the USB connection of the touch screen data plugged in, and I unplug the monitor, and instead plug in ANOTHER (same resolution, etc.) screen, it actually tought that the other screen was the touch screen... When I touched the touchscreen, it registered the touch on the other screen.
I also use the default Windows 7 driver, and I think most screens do, so maby I can pull some information from that.
Re: Detect all touch screen monitors
Quote:
I have also found out that, if I leave the USB connection of the touch screen data plugged in, and I unplug the monitor, and instead plug in ANOTHER (same resolution, etc.) screen, it actually tought that the other screen was the touch screen... When I touched the touchscreen, it registered the touch on the other screen.
If you think about it... that makes sense... the touch doesn't work through the display adapter, but through the usb. There is an SDK specifically for Win 7 & the touch interface. Since it isn't something I deal with, I didn't pay much attention to it.... Try searching for "Windows7 Touch SDK"
-tg