Skip to content

Capacitative Touch Readout Does Not Appear to Follow rotation Setting in Display Setup #14

@jmangum

Description

@jmangum

Not sure if this is a bug or a feature. Have been playing was a Qualia ESP32-S3 (https://www.adafruit.com/product/5800) with a square 4" RGB-666 TTL TFT with capacitative touch (https://www.adafruit.com/product/5794). I can orient the display using the rotation parameter in the qualia.Graphics library. When I apply a rotation different from 0 deg, the displayed graphics do rotate as expected, but the coordinates for the touch sensor (graphics.touch.touched) do not. For example, for 0 deg making display and touch sensor (0,0) on the TL corner of the display (with connector spanning the BL/BR side of the display), if I use rotation=180 the displayed text does rotate such that (0,0) = BR of display, the touch sensor still references (0,0) to the TL (default). Is the touch sensor supposed to follow the orientation setting? It might be convenient if it did.

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