Re: Capturing the raw keyboard presses.

From: Bernd Eckenfels (ecki@lina.inka.de)
Date: Thu Feb 17 2000 - 00:26:35 EST


In article <Pine.LNX.4.10.10002161115250.1182-100000@Wotan.suse.de> you wrote:
>> 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.

> Yes, it is fairly easy. Put a printk into the handle_scancode() in keyboard.c
> Bernd

You can use "showkey -s" which is a fairly complete scancode dumper. You can
use the result of those scancodes to use setkeycode to manipulate the
kernels scancode (normal and e0) table.

Greetings
Bernd

-
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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:17 EST