Software Support > DOS/WinCab
Windows 7 and touchscreen operation?
Kevin Mullins:
--- Quote from: Dermbrian on October 15, 2009, 04:58:48 pm ---Kevin, it's not that straightforward.
WinCab's touchscreen support is limited to DOS and Windows XP.
--- End quote ---
Yeah, I don't understand a lot of the programming side of things. But I do know that I have been using an older version of WinCab and touchscreen for a long time now (Win98, WinXP)
Well before "touchscreen support" seemed to be the big hoopla. (think the version in my jukebox is 3.1.1.0) The touchscreen drivers run in the background, ANY program with a "button" works with it, nothing to do with WinCab support that I'm aware of.
--- Quote from: Dermbrian on October 15, 2009, 04:58:48 pm ---It definitely doesn't work in Vista on my system, although all other touchscreen programs and jukebox apps that I have tried do work with my Vista system.
--- End quote ---
DOS based programs ?
Do the drivers for your touchscreen support DOS ?
Maybe I shouldn't speak to quickly as I haven't even messed with Vista or Window 7. (and frankly don't plan to anytime soon)
I just see a lot of touchscreen problems based on proper drivers for the microcontrollers.
(i.e. Trying to use touchscreen with DOS based programs without DOS drivers)
I'm definitely out of my league when people start talking Allegro, bits and binary and all that. :lol
Chris:
--- Quote from: Kevin Mullins on October 16, 2009, 01:25:13 pm ---Yeah, I don't understand a lot of the programming side of things. But I do know that I have been using an older version of WinCab and touchscreen for a long time now (Win98, WinXP)
Well before "touchscreen support" seemed to be the big hoopla. (think the version in my jukebox is 3.1.1.0) The touchscreen drivers run in the background, ANY program with a "button" works with it, nothing to do with WinCab support that I'm aware of.
--- End quote ---
The problem is that WinCab does not use Windows' buttons, it creates its own, and it uses the Allegro librray for mouse input. Allegro was meant for games, so it does not track mouse position, it tracks mouse motion, which is usully much more useful for a game. There is no mouse motion on a touchscreen; it teleports from place to place, updating the mouse driver's position counters but not motion counters, so the mouse pointer never moves. I've hacked Allegro's mouse support to read positionally rather than by motion but that hack only works on XP; I never understood why. DOS could be made to work by telling it to use a mouse driver that does not have the ability to track motion.
Dermbrian:
I took the plunge and installed Windows 7 on my touchscreen PC. Well, mostly installed it. I'll consider it done when I get my network printer working again.
WinCab acts the same way it did in Vista. Program works. Touchscreen doesn't when fullscreen (touches are recognized but cursor jumps to the nearest border...touch does not occur in correct location), kind of works when windowed (touches are not always recognized but do occur in correct place).
Brian
Navigation
[0] Message Index
[*] Previous page
Go to full version