Messages in this thread | | | From | Bernd Eckenfels <> | Subject | Re: Capturing the raw keyboard presses. | Date | Thu, 17 Feb 2000 06:26:35 +0100 |
| |
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/
| |