rvknth043 / Global-Low-Level-Key-Board-And-Mouse-Hook

A simple description and sample of creating a global low level keyboard And Mouse hook in C#
MIT License
143 stars 38 forks source link

Does not work with a DirectX game #8

Open Reelix opened 5 years ago

Reelix commented 5 years ago

Whilst working fine in a regular environment (Windows, Browser, Notepad, etc), this will not work in a full-screen DirectX game as these hooks will be overridden by the native DirectX ones.

Feel free to test in almost any (Non-borderless) full-screen game on Steam to replicate this issue.

h3rl commented 3 years ago

had same problem, my soulution was to write the hook in c++ and then make a wrapper for the dll