UCTRONICS / UCTRONICS_HSLCD35

UCTRONICS release high speed lcd35 with spi interface for Raspberrypi
10 stars 6 forks source link

Touchscreen rotated? #3

Open Apps4LifeLLC opened 3 years ago

Apps4LifeLLC commented 3 years ago

I updated my raspberry pi to the newest version and now the touchscreen has rotated on my display. Visually everything looks the same but y-input moves the cursor along the x-axis and x-input moves the cursor along the y-axis. I edited my config.txt to have :swapxy=1 after the dtoverlay which fixed that but the x-axis is inverted now so tapping on the left side of the screen moves the cursor to the right side and vice-versa. I assumed there might be an invx=1 param I could set but could not find one in this source code

Apps4LifeLLC commented 3 years ago

Fresh install of everything fixed it