Re: Track keyboard and mouse usage
- From: "Diez B. Roggisch" <deets@xxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 21:17:09 +0200
dfaber schrieb:
Hi all,
I have been searching for a keyboard and mouse tracker on linux. I've
read solutions (watch at sourceforge) which look at /proc/interrupts to
check keyboard or mouse activity. I also read one post where "watch"
seems to have difficulty tracking usb keyboards and mice. So, I'm out
of ideas here.
My goal are:
1. Check keyboard activity. I'm not interested in logging which keys
are pressed or record them.
2. Monitor mouse activity. I want to know the pointer position,
left-clicks, right-clicks, middle-mouse button usage.
I know that these things can be done in a GUI environment. I am looking
for some approach that helps me do this system-wide.
Any suggestions would be welcome. Again, I am looking for trackers on
Linux based machines.
You could use the /dev/input/event* devices. The link I had for the docs is unfortunately dead - I guess lubusb and its python binding might help you, too.
Diez
.
- Follow-Ups:
- Re: Track keyboard and mouse usage
- From: skip
- Re: Track keyboard and mouse usage
- References:
- Track keyboard and mouse usage
- From: dfaber
- Track keyboard and mouse usage
- Prev by Date: Track keyboard and mouse usage
- Next by Date: Re: How to lock files (the easiest/best way)?
- Previous by thread: Track keyboard and mouse usage
- Next by thread: Re: Track keyboard and mouse usage
- Index(es):