pyxhook icon indicating copy to clipboard operation
pyxhook copied to clipboard

Could you provide an example with all the key presses suppressed?

Open jabobian opened this issue 2 years ago • 0 comments

When I use pynput package, with Suppress=True, it is found that only key input inside the terminal is suppressed. But I want all key presses (in any app which has the focus) are suppressed for a while (untill some conditions meet). For background information please see here

I find no direct examples on XGrabKeyboard and XUnGrabKeyboard. But I guess pyxhook is based on xlib, and you may be able to help me to code an example. :-)

jabobian avatar Dec 29 '22 07:12 jabobian