Share via


enumTouchPanelSampleFlags (Windows Embedded CE 6.0)

1/6/2010

This enumeration specifies information about a given touch sample sent to the input system. The values are stored in TOUCH_PANEL_SAMPLE_FLAGS.

Syntax

enum enumTouchPanelSampleFlags {
  TouchSampleValidFlag = 0x01,
  TouchSampleDownFlag = 0x02,
  TouchSampleIsCalibratedFlag = 0x04,
  TouchSamplePreviousDownFlag = 0x08,
  TouchSampleIgnore = 0x10,
  TouchSampleMouse = 0x40000000
};

Elements

  • TouchSampleValidFlag
    Indicator for a valid reading. The driver can report an invalid reading to the input system, which is ignored. Minimize the ignored readings.
  • TouchSampleDownFlag
    State of finger or stylus. When the finger or stylus is pressed to the touch screen, the driver reports readings with both the TouchSampleValidFlag and TouchSampleDownFlag flags set. When the user removes the stylus or finger from the touch screen, the driver is required to send back at least one reading with the TouchSampleValidFlag flag set but the TouchSampleDownFlag flag cleared to indicate that the stylus or finger is up.
  • TouchSampleIsCalibratedFlag
    Indicator for the input system. This flag is set by the driver to notify the input system that it is not necessary to further calibrate the x and y coordinates of the sample.
  • TouchSamplePreviousDownFlag
    State from the previous valid sample. It is not necessary for the driver to report this to the input system but it is useful in the driver itself.
  • TouchSampleIgnore
    Flag to ignore the sample.
  • TouchSampleMouse
    Reserved.

Requirements

Header tchddi.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Touch Screen Driver Enumerations
TOUCH_PANEL_SAMPLE_FLAGS