ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Общие вопросы программирования (https://forum.antichat.xyz/forumdisplay.php?f=206)
-   -   unblock mouse messages from DirectInput hijacking (dinput8.dll) (https://forum.antichat.xyz/showthread.php?t=1483759)

DestroyerDarkNess 22.07.2023 02:33

Hi, I have my imgui menu, but to pass the mouse data to the "ImplWin32.WndProcHandler" backend, I have my wndproc hook using SetWindowLongPtror GetWindowLongPtr. but only keyboard messages are processed making it impossible to click on my imgui menu, since mouse messages are not processed and the culprit is DirectInput, does anyone have a solution?

My current solution is to use : https://github.com/geeky/dinput8wrapper

Is there any way to fix this?

SOLVED: Ok, I already solved it,hooking GetDeviceState from the DirectInput: Here


Время: 00:00