As a temporary solution you can use Steam to remap the controller inputs to keyboard and mouse inputs.
or you could try a program like DS4 Windows, its intended purpose is the reverse, emulate PlayStation controller inputs on an Xbox one, but it can do the reverse too.