Re: Keyboard usage analyzer
On Wed, Mar 5, 2008 at 10:34 AM, Raj Kiran Grandhi <email@example.com> wrote:
> Is there any utility that can report keyboard usage patterns? There is
> no need for an elaborate keylogging mechanism. I would just like to know
> the number of keypresses I am generating everyday and perhaps the number
> of times each key is pressed.
I wrote a small kernel patch that worked with my keyboards. I think
it can be ported to a recent kernel. I can do it if you're interested.
I wrote about this more than 2 years ago.
How shall we do this without going to kernel space?
* I think I can do something similar using /dev/input/.
* Also with X?
Please give me some advise now that the issue came up. I couldn't
care less about a keylogger but I care about the statistics. I asked
in LKML with no answer.
1) http://pcgotchi.blogspot.com/ I made my old machine post in a weblog.
(Well, I didn't automate it but it is easy). If I don't have to go to kernel
space, I might do it again. I don't want to build kernels all the time
I have to upgrade them.
2) It is not hard to make a programmable keyboard. The simple patch I wrote
can be a starting point.