There is no one definitive answer to this question. However, some methods for getting XInput in DS4 include using the DS4's built-in controller, connecting an external controller such as an Xbox 360 or Playstation 3, or using a third-party controller emulator.