STEP 1
Install steam to your PC/laptop
https://store.steampowered.com/
STEP 2
Log in your steam account
STEP 3
Open library
STEP 4
Click 'add a game' to add genshin impact game to steam account
STEP 5
Click 'add a non-steam game'
STEP 6
Click browse and click the 2 arrow
STEP 7
Right click genshin impact game and click 'open file location'
STEP 8
Click 'Genshin impact game'
STEP 9
Right click and copy the link
STEP 10
Open steam back and paste the link
STEP 11
Click 'GenshinImpact' and click open
STEP 12
Tick the game and click 'add selected programs'
STEP 13
Click steam and open setting
STEP 14
Click controller
STEP 15
Open 'General controller settings'
STEP 16
For X3 gamepad it's will come out as Generic gamepad .
Tick Guide Button and Genereric Gamepad Configuration.
If you want setting the gamepad button you can click define layout.
STEP 17
After check the gamepad connection ,exit the steam and refresh the page.
STEP 18
Right click steam app and run as administrator.
STEP 19
Open steam big picture mode
STEP 20
click library
STEP 21
open the install game
STEP 22
play the genshin impact game (if you play it for first time the controller might not connected)
STEP 23
Open setting
STEP 24
Change the control to controller
STEP 25
If you can't press anything after change the control just exit the game and steam.
STEP 26
Open the steam back and click controller option
STEP 27
Untick 'allow desktop configuration in launcher' and click OK
STEP 28
If you see the message on the right side of your screen it's means the gamepad already connected with the game
STEP 29
if the you see the gamepad button it means the gamepad successfully connected with your game
STEP 30
go to setting
STEP 31
if you want to change the gamepad button go to controller setup.
ENJOY THE GAME!!!