User Tools

Site Tools

한국어

comfilepi:rotate_the_screen:index

This is an old revision of the document!


Rotating the ComfilePi's Screen

To rotate the screen, please follow theinstructions for the Raspberry Pi.

After rotating the screen, you will need to recalibrate the touchscreen or, in X Windows, you can add a transformation matrix like the following:

# 90-degree clockwise rotation
xinput set-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
 
# 90-degree counterclockwise rotation
xinput set-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
 
# 180-degree rotation
xinput set-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
comfilepi/rotate_the_screen/index.1684732784.txt.gz · Last modified: 2023/05/22 14:19 by COMFILE Technology