lkml.org 
[lkml]   [2000]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCapturing the raw keyboard presses.
I'm doing something that requires that I capture ALL raw keyboard
presses. I need to make sure that ALL keys are captured, and
that means both at the console, and in X, or any other app that
may or may not take over the keyboard (RAW mode).

I assume that this is possible, and fairly easy. I want to log
these keystrokes for debugging, etc purposes at the RAW level. I
think I've found where I should do it (pc_keyb.c), but I wanted
to know what someone would suggest for this.

My plan is to have keystrokes logged via syslog for now... I
don't care if it is a crummy hack as long as it works, and
captures all keys well. Doing so either in pc_keyb.c or
keyboard.c (in drivers/char) would be fine.

Ideas?

--
Mike A. Harris Linux advocate
Computer Consultant GNU advocate
Capslock Consulting Open Source advocate

Join the FreeMWare project - the goal to produce a FREE program in
which you can run Windows 95/98/NT, and other operating systems.

http://www.freemware.org


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.051 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site