Merge pull request #2368 from tiopex/fix-retroach-nds

AYANEO Pocket DS: fix retroarch dual-screen
This commit is contained in:
tiopex
2026-03-02 08:48:51 +01:00
committed by GitHub

View File

@@ -49,9 +49,9 @@ if [ "${IS_VERTICAL}" = "true" ]; then
swaymsg '[title="RetroArch.*"] floating enable, fullscreen disable, resize set 640 960, move to output DSI-2, move absolute position 0 0'
swaymsg 'input "1046:911:Goodix_Capacitive_TouchScreen" calibration_matrix 1 0 0 0 0.5 0.5'
elif [ "${QUIRK_DEVICE}" = "AYANEO Pocket DS" ]; then
swaymsg output DSI-1 scale 1.41
swaymsg '[title="RetroArch.*"] output DSI-1 pos 0 0, output DSI-2 pos 160 768'
swaymsg '[title="RetroArch.*"] floating enable, fullscreen disable, resize set 1024 1536, move to output DSI-1, move absolute position 160 0'
swaymsg output DSI-1 scale 1.40
swaymsg '[title="RetroArch.*"] output DSI-1 pos 0 0, output DSI-2 power on pos 160 776'
swaymsg '[title="RetroArch.*"] floating enable, fullscreen disable, resize set 1024 1544, move to output DSI-1, move absolute position 160 0'
elif [[ "${QUIRK_DEVICE}" == "Retroid Pocket 5" || "${QUIRK_DEVICE}" == "Retroid Pocket Flip2" || "${QUIRK_DEVICE}" == "Retroid Pocket Mini" || "${QUIRK_DEVICE}" == "Retroid Pocket Mini V2" ]]; then
case "${QUIRK_DEVICE}" in
"Retroid Pocket 5" | "Retroid Pocket Flip2")