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.33k stars 271 forks source link

Filter individual devices? #55

Closed evilC closed 6 years ago

evilC commented 6 years ago

Is it technically feasible to allow filters to be per-device?
Ideally, I would like to reduce the amount of processing that my code needs to do, and also it would be nice if I could debug code filtering one keyboard and mouse, but still operate the debugger with another keyboard and mouse.

oblitum commented 6 years ago

Yes, that's what InterceptionPredicate if for (which you can couple both with checking device id or hardware id), please check the main web page on its documentation.