Messages in this thread | | | Date | Thu, 27 Jan 2000 10:24:37 -0500 (EST) | From | "Mike A. Harris" <> | Subject | Capturing 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/
| |