Debian Codegraph @

EXAMPLES/general/keyhack.meta

raw
1 title: Hack the keyboard
2 name: keyhack.stp
3 keywords: simple guru
4 description: This script makes it appear that one's keyboard is broken, by changing keycodes at the kernel device driver level. Annoy your friends!
5 test_support: stap -l 'kernel.function("kbd_event")'
6 test_check: stap -g -p4 keyhack.stp
7 test_installcheck: stap -g keyhack.stp -c 'sleep 5'