logkeys
logkeys copied to clipboard
Take a look at this, a cross-platform implementation of key logger.
Take a look at this project:
cHotKey (http://chotkey.googlecode.com)
It is a cross-platform hotkey program with key logging function.
Moreover, it can capture the title and class of focus window.
Original issue reported on code.google.com by [email protected] on 10 Sep 2012 at 8:41
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 [email protected] 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 [email protected] on 11 Dec 2012 at 4:00