I'm playing on the PC with a controller.
I would love to play on the Steam Deck though but that's not officially supported on SteamOS. I tried installing Windows on it but my SD card was too small for Windows + Genshin Impact. I might try that in the future when I either upgrade my internal SSD for the Steam Deck or when I get a larger SD card just for Windows + Genshin.