Linux kernel module that allows you to set events on pressed keys
on Sunday, February 1, 2009As a probe of the use of kprobes for Extension of Operating Systems I have made a Linux module that allows you to execute a command for every pressed key and see its keycode.
It includes some sample scripts that can be used as the command to be executed on every key pressed, these scripts are:
- keylogger
Registers every pressed key in a file.
- printscr
If framebuffer is enabled it allows doing a console screenshot using print screen key.
- typewriter
Plays a sound on every key pressed, sample sounds included imitate a typewriter.
The tarball includes more instructions and examples.