Giter Club home page Giter Club logo

keycount's Introduction

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.

keycount's People

Contributors

alols avatar atykhonov avatar calmofthestorm avatar davidshepherd7 avatar dexterthedragon avatar joetw avatar johnhill avatar mar04 avatar mortal avatar otommod avatar polachok avatar willghatch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.