https://github.com/willghatch/keycount
Count keystrokes on X server.
https://github.com/willghatch/keycount
Last synced: about 1 year ago
JSON representation
Count keystrokes on X server.
- Host: GitHub
- URL: https://github.com/willghatch/keycount
- Owner: willghatch
- License: gpl-3.0
- Created: 2015-05-04T23:53:07.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-09-07T19:01:46.000Z (almost 7 years ago)
- Last Synced: 2025-04-06T16:49:11.608Z (about 1 year ago)
- Language: C
- Size: 67.4 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
keycount is a key logger that counts the number of:
- presses of any individual key
- digraphs of two given keys
- trigraphs of two given keys
The output format puts the count of individual keys on the first column,
th count for digraphs in the second (nested under the first key of the
digragh), and trigraphs similarly. This was simply a convenient format.
Output is meant to be read by the included readkclog.py script.
readkclog.py requires python3, and simply takes the output format of
keycount through stdin. It produces a nice report to stdout.
The idea is to count these things to make a custom keymap.
This program was written by cannibalizing code from the program xcape
written by alols and others.
https://github.com/alols/xcape.git
Thanks, alols and friends, for making something I could rip apart rather than starting
from scratch.
Build by running `make`.
Run with --help to see options.
BUGS:
It loses one future digraph and two future trigraphs every time it dumps.
It was easier that way. It's b-grade software to gather some data quick-like.