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

XTP2046 ESP Home - Touch rotated by 90 degree #148

Open
laisch-at opened this issue Mar 6, 2024 · 0 comments
Open

XTP2046 ESP Home - Touch rotated by 90 degree #148

laisch-at opened this issue Mar 6, 2024 · 0 comments

Comments

@laisch-at
Copy link

I tried the example "4-TouchDemo" for the ESP Home integration.
The touchscreen was off by 90°
So I had to change the transform value to true to make it work like expected:

touchscreen:
  transform:
    swap_xy: true

see: https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/blob/main/Examples/ESPHome/4-TouchDemo/yellowtft1.yaml#L163

I am not sure if this was just the case for my CYD, but maybe it should be mentioned in the comments that this can be the case for some CYD's if someone else is struggling to find out why the inputs are off.

The CYD I bought: https://www.amazon.de/dp/B0CSYPG716
ESP Home Version: 2024.2.2


Thx for the library!
Keep up the good work!

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

1 participant