This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[input-device:wch.cn USB2IIC_CTP_CONTROL] | |
output = HDMI-A-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Rotate the display input | |
# Pi 4 / Xorg | |
# DEVICE_NAME="wch.cn USB2IIC_CTP_CONTROL" | |
# Pi 5 / Wayland | |
DEVICE_NAME="xwayland-touch:14" | |
PROPERTY_NAME="Coordinate Transformation Matrix" | |
# To run from SSH uncomment the following line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Display config | |
# DMT | |
hdmi_group=2 | |
hdmi_mode=87 | |
hdmi_cvt=480 1920 60 8 | |
#hdmi_timings=480 1 48 32 80 1920 0 3 10 56 0 0 0 60 0 55296000 8 | |
# HDMI | |
hdmi_drive=2 | |
#hdmi_force_mode=1 |