unblock mouse messages from DirectInput hijacking (dinput8.dll)

DestroyerDarkNess

Активный
Автор темы
44
101
Hi, I have my imgui menu, but to pass the mouse data to the "ImplWin32.WndProcHandler" backend, I have my wndproc hook using SetWindowLongPtr or 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



 
Последнее редактирование: