Invert display
xrandr -o inverted
Invert touchscreen
xinput –set-prop ‘WaveShare WS170120’ ‘Coordinate Transformation Matrix’ -1 0 1 0 -1 1 0 0 1
Useful URLS: https://wiki.ubuntu.com/X/InputCoordinateTransformation
xrandr -o inverted
xinput –set-prop ‘WaveShare WS170120’ ‘Coordinate Transformation Matrix’ -1 0 1 0 -1 1 0 0 1
Useful URLS: https://wiki.ubuntu.com/X/InputCoordinateTransformation