Dela via


PointerPointProperties.TouchConfidence Property

Definition

Gets a value that indicates whether the pointer device rejected the touch contact.

public:
 property bool TouchConfidence { bool get(); };
bool TouchConfidence();
public bool TouchConfidence { get; }
var boolean = pointerPointProperties.touchConfidence;
Public ReadOnly Property TouchConfidence As Boolean

Property Value

Boolean

bool

True if the touch contact was accepted; otherwise false.

Remarks

A device rejects accidental touches and reports this information through the Human Interface Device (HID) confidence usage (see note above). TouchConfidence is set through the value of this usage.

The confidence usage helps improve the accuracy and reliability of accidental touch rejection. (In addition to confidence, additional heuristics are applied to the touch input stream to improve the accuracy of accidental touch rejection.)

Touch input is most often rejected due to palm detection or through input arbitration (such as when pen/stylus proximity overrides touch input).

Applies to