sway: fix DSI-1 touchscreen assignment with Retroid DS addon

This commit is contained in:
spycat88
2025-11-23 17:00:49 +00:00
parent 83dd6b9334
commit ff8d2e2242

View File

@@ -101,6 +101,7 @@ if hexdump -C /sys/class/drm/card0-DP-1/edid | grep -q "Lontium"; then
echo "output DP-1 max_render_time off" >> $SWAY_HOME/config
echo "output DP-1 scale 1" >> $SWAY_HOME/config
echo "output DP-1 position 0 0" >> $SWAY_HOME/config
echo "input \"0:0:generic_ft5x06_(a0)\" map_to_output DSI-1" >> $SWAY_HOME/config
echo "input \"8746:1:RetroidPocket_RDS_Touchscreen\" map_to_output DP-1" >> $SWAY_HOME/config
echo "input \"8746:1:RetroidPocket_RDS_Touchscreen\" calibration_matrix 0 1 0 -1 0 1" >> $SWAY_HOME/config
con="DP-1"