aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: ebae2ca4e8ff2aeb2bc6aec0f91ab94ee8b53c4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 : )