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
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