Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X and Y coordinates #2

Open
carbonBCrow opened this issue Feb 12, 2024 · 1 comment
Open

X and Y coordinates #2

carbonBCrow opened this issue Feb 12, 2024 · 1 comment
Assignees

Comments

@carbonBCrow
Copy link

Hi,
I've got the new featherwing capacitive display, Part# 5872, that uses this library. I'm setting up a background and shapes using displayio and other display libraries that give me my desired display orientation in landscape. The X coordinate is horizontal, the Y coordinate is vertical and the origin is in the upper left corner.
But..........this touch display places the X coordinate vertical, the Y coordinate horizontal and the origin is in the lower left corner. This makes it a challenge to get a touch button to work properly. Can the library be altered to have the coordinate system match the adafruit_display_shapes and the adafruit_button coordinate systems?

@makermelissa
Copy link
Collaborator

To fix this, we should add some additional options to this lib like I did with adafruit/Adafruit_CircuitPython_TSC2007#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants