Raspberry Pi 7 inch Touchscreen rotate
问题 I have a small problem: I would like using Raspberry PI 7 inch LCD on portrait (standing) mode. (Kivy application) I added on /boot/config.txt: lcd_rotate=2 and display_rotate=1 The display is OK, but touch screen not good! The touch not rotating 90 degrees. How I rotate touch screen 90 degrees? 回答1: Rotate official 7" Raspberry Touchscreen 1. install xinput : sudo apt-get install xinput 2. to rotate the screen, edit this file: sudo nano /boot/config.txt and add this line at the end: display