Skip to content

getPoint() should return return unique value for invalid samples. #19

@MerwinPaterwin

Description

@MerwinPaterwin

getPoint() returns a point with a pressure (TSPoint.z) of 0 if the A/D samples are not consistent. This is ambiguous, as a pressure of 0 means that there is no touch which is invariably not the case. I suggest that if the samples are inconsistent, a pressure of -1 be returned, signifying an invalid result. Please change line #169 of TouchScreen.cpp to z=-1;

Thanks.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions