This is very similar to the “dinput.dll” problem for all countries where the non-Latin alphabet is used. You need to copy the dinput.dll file from the old DirectX version to the game folder.
Read here, link to file "dinput.dll" here too. https://nolfgirl.net/Unityhq/forums/topic/46674-fix-keyboard-and-mouse-issues-in...