Xlib: watching key presses without trapping them
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sat Aug 11 07:40:35 EDT 2012
On Sat, 11 Aug 2012 10:53:37 +0100, Raffaele Ricciardi wrote:
> Hello there,
>
> I'm writing a X Windows program to perform some actions when modifier
> keys have
> been released. After looking into the Pykeylogger project
> (pykeylogger.sourceforge.net), I've gone as far as detecting all events
> related
> to modifiers, but then such events get trapped by the program and do not
> reach
> other applications.
Questions about specialised modules like Pykeylogger will have a much
better chance of being answered if you ask in a dedicated Pykeylogger
forum. If there is none, try emailing the author.
If you do get an answer elsewhere, please consider passing it on here so
others can learn about it too.
Have you looked at how GUIs like wxPython and Tkinter handle key events?
That might help.
--
Steven
More information about the Python-list
mailing list