Ver Fonte

Merge branch 'master' of https://tree.clementinecomputing.com/clementinecomputing/popufare

clementinecomputing há 6 anos atrás
pai
commit
6daac33359
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      busunit/DIUv2/diu_kiosk

+ 4 - 0
busunit/DIUv2/diu_kiosk

@@ -22,6 +22,10 @@ export BASEDIR=/home/pi
 
 export DISPLAY=:0
 
+# we've inverted the display, make sure to invert touchscreen
+#
+xinput --set-prop 'ADS7846 Touchscreen' 'Coordinate Transformation Matrix' -1.000000 0.000000 1.000000 0.000000 -1.000000 1.00000 0.000000 0.000000 1.000000
+
 # turn off screensave/screen blanking
 #
 xset s noblank