keyboard-press-counter press down keyboard count before use, pls install depend。 pip3 install termcolor; pip3 install keyboard; run: sudo python3 press-keyboard-counter.py f10 you can modification f10 to you Specified key。