Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Dec 17, 2019
Aug 26, 2020
Jul 13, 2017

Keys Per Second

KeysPerSecond is a program that counts how many times certain keys are pressed. And shows what the average, maximum and current number of keys pressed per second is. The program can also show a nice graph of the key presses over time.
Almost all aspects of the program are also fully customizable.

Jump directly to downloads

Introduction

Originally I wanted to know how many keys I pressed per second in osu! And I had already seen programs like this on live streams. I could however not find a program that worked well on my computer so I decided to write one myself.

The program when active looks like this:
Interface Interface
There is also a right click menu to configure all the settings:
Menu

For each configured key the program will show how many times it was pressed. By default it will also show the maximum, average and current number of keys pressed per second. When enabled it can also show a graph of the number of keys pressed per second over time and the total number of keys pressed.

Everything shown in the pictures above can be toggled on or off and all the panels can be arranged in a lot of different ways.
Config Key config
Layout

There are also some commands that can be sent to the program:
Ctrl + P: Causes the program to reset the average and maximum value.
Ctrl + U: Terminates the program.
Ctrl + I: Causes the program to reset the key press statistics.
Ctrl + Y: Shows / hides the GUI.
Ctrl + T: Pauses / resumes the counter.
Ctrl + R: Reloads the configuration file.

You can also move the program using the arrow keys or snap it to the edges of your screen.

Well I hope some of you find this program useful and/or will use it for your streams (I would love to see that happen :) ). And if you find any bugs feel free to report them. If you have any features you'd like to see added please tell me as well!

Notes

  • The horizontal line in the graph represents the average number of keys pressed per second.
  • You can add any key, and any number of keys to the program.
  • You can also track mouse buttons with this program.
  • The overlay option is far form perfect it just ask the OS to place the program on top. It'll not overlay most full screen games.
  • To change a GUI colour in the colours menu, click on the current colour
  • An opacity of 100% means completely opaque and an opacity of 0% means completely transparent.
  • The snap to screen edge function works on multi-monitor setups.
  • You can move the window with the arrow keys at 3 different speeds 1, 2 & 3 pixels at a time (2=Ctrl, 3=Shift).
  • You can pass the path to the config file to load via the command line or a shortcut so you can skip the configuration step. Setting the program as the default program to open the configuration file with may work as well as long as you don't move the executable afterwards.
  • When resetting something it will also be printed to the console if this program is running using cmd/shell.
  • For some people running the program in Windows 98 / ME compatibility mode makes it so it can overlay full screen osu! so if you're lucky this might work.

Todo list / working on

It's kinda empty here right now :c, so please suggest things c:

Downloads

Requires Java 8 or higher
Tested operating systems: Mac 10.11.6, Ubuntu Linux 16.04 LTS, Windows 7 & 8 & 10

All releases: releases
GitHub repository: here
Original osu! forum post: post

Examples

The following two examples show the layout while it is being edited. All the panels have to line up with the grid, but the size of the grid cells can be changed.


Next are two other examples of possible layouts.


Last are some very simple layouts to highlight the title-value display options.
Modes

History

Project development started: 23 January 2017