Open GoogleCodeExporter opened 9 years ago
Hey, thanks for this insightful and concise paragraphs:
"""There are many methods to capture keystrokes under Linux: Using X11
functions, input-subsystem, or I/O port.
The first way doesn't need root privileges but it can only capture key bindings
with modifier key. i.e. It doesn't support global keyboard listening and
doesn't support capturing a single modifier key. (At least as far as I have
tried, that's true) The other ways need root privileges."""
With Xlib, have you tried with XCheckTypedEvent
http://tronche.com/gui/x/xlib/event-handling/manipulating-event-queue/XCheckType
dEvent.html
to extract an arbitrary XKeyEvent
http://tronche.com/gui/x/xlib/events/keyboard-pointer/keyboard-pointer.html#XKey
Event
waiting in the server queue?
Original comment by kernc...@gmail.com
on 11 Dec 2012 at 5:52
Thanks for reply.
I am very busy these weeks, I will try it out as soon as I have time.
Original comment by zcn...@gmail.com
on 11 Dec 2012 at 4:00
Original issue reported on code.google.com by
zcn...@gmail.com
on 10 Sep 2012 at 8:41