oblitum / Interception

The Interception API aims to build a portable programming interface that allows one to intercept and control a range of input devices.
http://oblita.com/interception
1.32k stars 271 forks source link

Mouse freezes when I set a filter #119

Closed inGyni closed 3 years ago

inGyni commented 3 years ago

Hello,

I am writing a program that moves my mouse automatically when I noticed that my mouse freezes when I launch it

image

after debugging I noticed that the line that is underlined by red is what freezes my mouse. I am not sure why, would you mind telling me how I can try to understand this more, and if there is a fix?

Sorry, I don't really use C++ a lot, so I might have made a silly mistake.

oblitum commented 3 years ago

It's expected that your mouse won't respond anymore by itself after you hook it, now it's your job to read its events and send others (or the same events) in place.