From 0f45252d3f46d28ad99793eb875087462504defb Mon Sep 17 00:00:00 2001 From: verdant Date: Sat, 16 May 2026 21:21:02 +0800 Subject: Initial commit --- README | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..ebae2ca --- /dev/null +++ b/README @@ -0,0 +1,28 @@ +Keyboard Listener(kl) +===================== + +DESCRIPTION + + This is a simple tool to print the key + you pressed in real-time. + +USAGE + + kl + + The argument 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 : ) + -- cgit v1.2.3