Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
/ HideDS4 Public archive

A small helper-library which prevents a process from accessing a connected DualShock 4 controller

License

Notifications You must be signed in to change notification settings

nefarius/HideDS4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HideDS4

A small helper-library which prevents a process from accessing a connected DualShock 4 controller

What's this?

A Proof-of-Concept, nothing more, nothing less. It's a small DLL which hides the Sony DualShock 4 Controller from any Windows process it gets injected into. It accomplishes this by hooking the CreateFile Windows API using MinHook.

How to use

  1. Either clone this repository and compile the library yourself or download the latest release.
  2. Get my DLL injector utility or use you own.
  3. Put Injector and DLL in the same directory (caution: only use 64-Bit injector with 64-Bit DLL on 64-Bit target process, likewise with 32-Bit builds).
  4. Launch your target process (the game).
  5. Enter command line Injector.exe --inject --module-name HideDS4.dll --process-name witcher3.exe to load the DLL into the game.
  6. If the DualShock 4 is connected, re-connect it for the fix to kick in.
  7. Enjoy!