Modifications

Sauter à la navigation Sauter à la recherche
911 octets ajoutés ,  13 juillet 2015 à 11:47
Ligne 107 : Ligne 107 :     
{{ADFImage|RASP-PiTFT-PLUS-Touch-40.png}}
 
{{ADFImage|RASP-PiTFT-PLUS-Touch-40.png}}
 +
 +
Une fois complété, vous obtenez quelque-chose comme:
 +
 +
{{ADFImage|RASP-PiTFT-PLUS-Touch-41.png}}
 +
 +
 +
Run {{fname|sudo nano /etc/X11/xorg.conf.d/99-calibration.conf}} and copy the
 +
 +
<nowiki>Section "InputClass"
 +
        Identifier      "calibration"
 +
        MatchProduct    "stmpe-ts"
 +
        Option  "Calibration"  "119 3736 3850 174"
 +
#        Option  "SwapAxes"      "1"
 +
EndSection</nowiki>
 +
 +
 +
 +
or whatever you got, into there. You can quit X if you want by typing {{fname|fg}} to bring that command into the foreground, and then Control-C to quit.
 +
 +
'''Depending on the 'rotation' of the screen, when you do this calibration, you may need to comment out the SwapAxes part with a #''' and/or '''swap the numbers around so looks like''':
 +
 +
<nowiki>Option "Calibration" "119 3736 3850 174"</nowiki>
 +
 +
to
 +
 +
<nowiki>Option "Calibration" "3736 119 174 3850"</nowiki>
 +
 +
Your touchscreen is now super calibrated, hurrah!
    
{{RASP-PiTFT-PLUS-TRAILER}}
 
{{RASP-PiTFT-PLUS-TRAILER}}
29 917

modifications

Menu de navigation