"Windows does not support any than Xinput" is completely inaccurate. Windows supports both DInput(which DS4 controllers are) and XInput.
Plenty of PC games even have native support for DS4 controllers, and some have generic DInput support. See https://www.pcgamingwiki.com/wiki/List_of_games_that_support_DualShock_4