Linux kernel module that allows you to set events on pressed keys
As 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:
Registers every pressed key in a file.
If framebuffer is enabled it allows doing a console screenshot using print screen key.