[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Configuring for Touch Screens.
From: S A McConnell ####@####.#### Date: 21 Aug 2000 18:01:37 -0000 Message-Id: <39A16F99.CFBDDEC5@cotw.com> I am trying to understand the interface between Microwindows and a TS driver. I see that Microwindows polls the TS. The poll routine returns 0 if there has not been an event. Otherwise, it returns a value indicating an event has occured. If an event has occured it then reads the device. I assume what is returned is an X, Y and pressure measurement. Is that a raw or a calibrated measurement? What is the format of the data? Scott | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Configuring for Touch Screens.
From: "Greg Haerr" ####@####.#### Date: 22 Aug 2000 08:11:57 -0000 Message-Id: <05e601c00bfd$59714200$15320cd0@gregh> : I am trying to understand the interface between Microwindows and a TS : driver. Microwindows abstracts a touch screen driver to look exactly like mouse input. That is, it returns an x, y position, as well as button information. The x,y information can either be relative or absolute, depending on the return value from the Microwindows driver. : : If an event has occured it then reads the device. I assume what is : returned is an X, Y and pressure measurement. Is that a raw or a : calibrated measurement? What is the format of the data? The format of the data is completely up to the kernel touchscreen driver, of which there is no Linux standard. Also, there is no standard for calibration. There is a contributed calibration program (written in microwindows win32) in microwin/src/contrib/GPL/tpcal. Regards, Greg : : Scott : : --------------------------------------------------------------------- : To unsubscribe, e-mail: ####@####.#### : For additional commands, e-mail: ####@####.#### : : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |