diff options
| author | verdant <i@glowisle.me> | 2026-05-16 21:21:02 +0800 |
|---|---|---|
| committer | verdant <i@glowisle.me> | 2026-05-16 21:21:02 +0800 |
| commit | 0f45252d3f46d28ad99793eb875087462504defb (patch) | |
| tree | 54e86af9d10af4794587ed88d6b0536d4cc7b426 /README | |
| parent | 2d6ad961a01a6f72150df54e9df57dae8b79cbcc (diff) | |
| download | kl-0f45252d3f46d28ad99793eb875087462504defb.tar.gz kl-0f45252d3f46d28ad99793eb875087462504defb.zip | |
Initial commit
Diffstat (limited to 'README')
| -rw-r--r-- | README | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +Keyboard Listener(kl) +===================== + +DESCRIPTION + + This is a simple tool to print the key + you pressed in real-time. + +USAGE + + kl <EVENT_FILE_PATH> + + The argument <EVENT_FILE_PATH> is the path + of the event file which is linked to your + keyboard. + + λ /dev/input/by-id/ ls -lhi /dev/input/by-id + total 0 + 1467 lrwxrwxrwx 1 root root 9 May 16 09:22 + usb-SEMICO_USB_Gaming_Keyboard-event-kbd -> ../event4 + + Then run `sudo kl /dev/input/event4`, the key + you pressed will be print on STDOUT. + +REPORT + + Feel free to create a PR : ) + |
