forum

Key presses per second program

posted
Total Posts
186
show more
Topic Starter
Roan

Vahr wrote:

THanks for making this, appreciate the help!
You're welcome :) Glad you like it ^^
dressurf
Hi, Firstly , thank you for making this program,
but i'm afraid that it (or maybe only me) have the problem of using commands,
it seems like Ctrl + P (and other commands) is not working.
Do you have any recommandations that i have to do?
Topic Starter
Roan

anti- wrote:

Hi, Firstly , thank you for making this program,
but i'm afraid that it (or maybe only me) have the problem of using commands,
it seems like Ctrl + P (and other commands) is not working.
Do you have any recommandations that i have to do?
Hi, thank you for reporting this. I just tested it and it seems that I broke it somehow.
I'll try to find the bug and fix this a.s.a.p. meanwhile I discovered that if you change the command keys to something without a modifer (e.g. just P) then it will still work.
It'll hopefully be fixed soon and thank you for using KeysPerSecond :)

Edit: I found the bug, it should be fixed within about an hour from now.

Edit 2: All fixed :)

Update v7.1

-Fix command keys with modifiers not working
-Repaint the frame when resetting statistics or totals for an immediate display update
nobully
Hi, could you make an auto-load feature for config files? Thanks!
Topic Starter
Roan

nobully wrote:

Hi, could you make an auto-load feature for config files? Thanks!
It's already there you can pass a config file to the program either via the command line or if you associate the .kpsconf2 file format with the executable.

So you could either make a small .bat file containing: "path/to/KeysPerSecond.exe path/to/config.kpsconf2".
Or click the config file -> open with -> and then select the KeysPerSecond executable (works as long as you don't move the executable afterwards).

If this wasn't what you meant feel free to correct me :)
nobully
Oh okay, I totally didn't think of a bat file, thanks! Though what I had in mind was the program does this for you, you just tell it which config to load automatically if you choose to. Just something I thought of :)

EDIT: I made a shortcut with the target being "path\keyspersecond.exe" "path\kpsconfig.kpsconf2" and that worked great 👌
Topic Starter
Roan

nobully wrote:

Oh okay, I totally didn't think of a bat file, thanks! Though what I had in mind was the program does this for you, you just tell it which config to load automatically if you choose to. Just something I thought of :)

EDIT: I made a shortcut with the target being "path\keyspersecond.exe" "path\kpsconfig.kpsconf2" and that worked great 👌
Yeah I've had that idea for a while as well. The problem being where do I store the data? Since I export as a single executable which causes there to be no installation process, the program does not really have a folder of it's own to store anything in. The program runs on Windows, Linux and OSX. So I'd need something for all of them. I actually might have found a method that works for this. I'll see if I can get it to work.

For now the bat file seems like the way to go though :)
Thanks for the suggestion ;)

Edit
There actually seems to be a JDK bug that has to be solved before I can implement this... I'll keep a look at the bug status but for the time being passing the config to the executable is the way to go. Unless I come up with some other idea :|

Edit 2

Version 7.2

This release mainly focusses on fixing small bugs, most of which were in the key-modifier tracking.

- Fix modifier keys not being highlighted when key-modifier tracking is on.
- Fix modifier keys releasing every other key when key-modifier tracking is on.
- Fix the key-modifier check box not being toggled when loading a config.
- Fix all known cases of key-modifier tracking weirdness.
- Rework key-modifier tracking internally to be more efficient.
- Lots of internal optimizations.
- Better color support for unfilled grids (empty tiles are now either the background color or transparent depending on whether transparency is enabled).
- Fix several minor bugs in the right click menu.
--0
thx for great tool :D
Topic Starter
Roan

breazingstar wrote:

thx for great tool :D
You're welcome :)
ReTLoM
ok i try to use this for Mania 7k
here my concern:
https://cdn.discordapp.com/attachments/ ... nknown.png
but i want it more like
https://cdn.discordapp.com/attachments/ ... nknown.png
is there a way to accomplish this ?
Topic Starter
Roan

ReTLoM wrote:

ok i try to use this for Mania 7k
here my concern:
https://cdn.discordapp.com/attachments/ ... nknown.png
but i want it more like
https://cdn.discordapp.com/attachments/ ... nknown.png
is there a way to accomplish this ?
I'm sorry there is currently no way to do this :( . The closest you can get right now would be to run two instances of the program, one for the graph+stats and one for the keys. I may look into making the layout options even more flexible though, but I currently don't have the time available to me that would be required to do so. I'll put it on my todo list though so there's a good chance that layout options will expand in future releases ;) .
Sonzai no muda
i will take note
Topic Starter
Roan

Sonzai no muda wrote:

i will take
Thanks :)
ob7
I know this is an old thread, but really nice program, looks nice on stream too, good job!
Topic Starter
Roan

ob7 wrote:

I know this is an old thread, but really nice program, looks nice on stream too, good job!
Thanks :)
_ToorU
When I open osu! in fullscreen mode, OBS stops updating KPS counter so I have to tab out of the game in order to make OBS show updated KPS values. How to fix that? I don't play in window mode so don't suggest that.
Topic Starter
Roan

_ToorU wrote:

When I open osu! in fullscreen mode, OBS stops updating KPS counter so I have to tab out of the game in order to make OBS show updated KPS values. How to fix that? I don't play in window mode so don't suggest that.
That's weird, the only explanation I can come up with for that is that the display manger doesn't think it's required to update the window since it's not directly visible. Personally I also have it setup with osu! running in fullscreen mode though and I don't have any issues with it. However that's probably because I run OBS and KeysPerSecond on a different monitor so the window is always visible. Since I'm currently not at home I do not have the means to do any extensive testing, but I'll try to run some tests near the end of this week or the start of the next week. I strongly suspect it to be an operating system optimization though that prevents rendering updates on windows that are not directly visible. If you are running KeysPerSecond on a second monitor though I would start by trying all the different window capture options in OBS.

tl;dr I'll edit this once I've had the chance to do some proper testing/debugging.

Edit: Turns out that it is indeed probably some operating system optimalisation. I could reproduce this if I disabled all but 1 monitor and had osu! running in full screen mode. Funnily enough having an extra monitor connected makes it so that it always works even if KeysPerSecond is on the monitor with osu! running on it. Unfortunately this also means that there is nothing I can do to fix this. Though it's possible that there is some setting somewhere in Windows that would (but I couldn't find any information about that). Thus the only fix I could find was to connect some extra monitor (using a mobile phone/tablet as an extra monitor should work too). I'm sorry, I'm afraid that this is beyond my control.

tl;dr Windows made it so that if a program is in full screen other programs do not get updated.
CrescendoFuri
I don't know if it's just me, but I wanna use this for other things, not just osu, it's really really good. However...if I have it set to arrow keys, it umm, doesn't display them right, fully.

The left arrow key is rather...broken, plus the sizes between the left and right, and up and down, keys kind of bother me? I know there's probably not many symbols for that kind of thing but I certainly think it is worth telling you. Let me know if there's a way to improve that and if there is a plan to. Everything else though is perfect, but this is on the off chance I use a game that's arrow keys mainly, but normal wasd games are fine.
Topic Starter
Roan

SuiGeneris wrote:

I don't know if it's just me, but I wanna use this for other things, not just osu, it's really really good. However...if I have it set to arrow keys, it umm, doesn't display them right, fully.

The left arrow key is rather...broken, plus the sizes between the left and right, and up and down, keys kind of bother me? I know there's probably not many symbols for that kind of thing but I certainly think it is worth telling you. Let me know if there's a way to improve that and if there is a plan to. Everything else though is perfect, but this is on the off chance I use a game that's arrow keys mainly, but normal wasd games are fine.
You're right that doesn't really look quite right xD. That being said I don't know what would cause this issue. I'll look into it though. Thank you for reporting this ^^

My time is really limited lately though so that's why updates are slow right now :( I have some time right now though so if it's an easy fix you can expect a fix later tonight ;) .
CrescendoFuri
Sounds good! Not gonna lie, didn't think you'd get back to me so fast! But if you do get a fix out then you've made this a really good stream element for me to have in practically all streams :D

UNRELATED EDIT:
So, I do have this up in OBS, as its own window capture, works great, now the only issue is if I close the window while OBS is up, it for some reason opens the key input screen? I don't really know why or how, or if that's even fixable, just thought I would let you know, because it's a bit annoying to have to sometimes readjust it on my layout.

can't spell tonight it seems lol
Topic Starter
Roan

SuiGeneris wrote:

Sounds good! Not gonna lie, didn't think you'd get back to me so fast! But if you do get a fix out then you've made this a really good stream element for me to have in practically all streams :D
So I fixed this one by using a different set of arrow symbols :) ⯅⯆⯇⯈
Also thank you for using KeysPerSecond :)

SuiGeneris wrote:

UNRELATED EDIT:
So, I do have this up in OBS, as its own window capture, works great, now the only issue is if I close the window while OBS is up, it for some reason opens the key input screen? I don't really know why or how, or if that's even fixable, just thought I would let you know, because it's a bit annoying to have to sometimes readjust it on my layout.

can't spell tonight it seems lol
That sounds interesting xD I have no idea why this would happen though and I can't seem to reproduce it either :( closing KeysPerSecond while OBS is window capturing it doesn't have any side effects for me :/

Version 7.3

- Arrow keys now look more consistent.
CrescendoFuri
Looks much better, also I think it was just OBS doing...OBS things, seems to sometimes happen sometimes not, but it seems certainly lessened with the window title must match option, because I have another java running program up so I think it confused the poor counter.
Topic Starter
Roan

SuiGeneris wrote:

Looks much better, also I think it was just OBS doing...OBS things, seems to sometimes happen sometimes not, but it seems certainly lessened with the window title must match option, because I have another java running program up so I think it confused the poor counter.
Nonetheless a very weird issue xD
I did manage to get OBS to display an other Java program. But even with 10 KeysPerSecond instances open I couldn't get it to do any weird things. But I guess you're right and it's just OBS doing OBS things ¯\_(ツ)_/¯
CrescendoFuri
Huh..weird, I went into it and remade my arrow key bindings...and well, here's the thing.

For some reason they're boxes now :( I think arrow keys just aren't friendly to this program. Unless anyone else wants to say they're fine and mine is just dumb. I downloaded from the standard window exe not java's download if that helps. I really like this program so that's why I wanna let you know the issues about it.
Topic Starter
Roan

SuiGeneris wrote:

Huh..weird, I went into it and remade my arrow key bindings...and well, here's the thing.

For some reason they're boxes now :( I think arrow keys just aren't friendly to this program. Unless anyone else wants to say they're fine and mine is just dumb. I downloaded from the standard window exe not java's download if that helps. I really like this program so that's why I wanna let you know the issues about it.
Hmm, that's really weird, as far as I know the symbols I used (⯅⯆⯇⯈) are part of the UTF standard and should therefore also be available preatty much anywhere. I'll see if I can find computer/laptop that doesn't like them either. I did verify the executable and it works fine for me. Actually, if I save the configuration and load it again the symbols are gone .-.

In any case, until I find a more permanent solution for this you can simply edit your configuration file with notepad, go to the #Keys section and change the name="key name here" part to something that works for you.
CrescendoFuri
Alright! Thanks though.
Topic Starter
Roan

SuiGeneris wrote:

Alright! Thanks though.
Alright, second attempt :)
I managed to find yet another set of arrow symbols, but this set should be supported a lot more.

And while I was at it I also manged to find and fix a few other bugs.

In any case let me know if this fixes the issue for you :)

And thank you for the bug reports ^^

Version 7.4

- Add the GitHub link to the initialisation dialog.
- Fix the configuration file not supporting UTF-8 characters.
- Fix position saving only working when the graph is displayed in its own window.
- Change the arrow key symbols to unicode symbols with better availability.

Version 8.0

This is a major release that completely changes the layout system of the program.
You are now able to design basically any layout of the panels as long as it aligns to the grid of the program.

Note however that because of this the old configuration format does not load completely anymore!
If you never changed any of the layout settings your configuration will load just fine, however if you made
changes to the layout chances are that it won't look exactly the same in this version (though since more is possible now you can fix your layout to look the same again).

Example of what you can do now:


Changes:
- Grid based layout editor that shows layout changes in real time (if opened from the right click menu) and that allows custom panel sizes
- Rendering modes can now be set on a per key basis
- Overall improved performance
- Removed the size setting

P.S. Since the layout systems is completely new I expect there to be at least a few bugs that slipped past my testing.
techn1c
thx you!!!!!!
Topic Starter
Roan

Technic360xbox wrote:

thx you!!!!!!

You're welcome, glad you like the program :D
rhyrhy
I tried to use this program with other games, but some games that prevent other screen on the game screen (e.g : undertale, rabi-ribi, etc.) I can't use it even with overlay mod. Can you fix this if able?
Topic Starter
Roan

rhyrhy wrote:

I tried to use this program with other games, but some games that prevent other screen on the game screen (e.g : undertale, rabi-ribi, etc.) I can't use it even with overlay mod. Can you fix this if able?

This is actually not trivial sadly. Overlay mode for KeysPerSecond just forces it to be the top window. However most of these games run in full screen mode, which is kind of special in that there can only be one such window at the same time. Most overlays you see that actually do manage to run on top of games like this don't actually run on top, but rather inject custom code into the game's render to accomplish this.

The easiest work around is therefore to just not run the game in full screen mode so that other programs are still allowed on top of it (if that's an option, windowed/borderless mode).

Implementing code injection into running games to accomplish an overlay anyway while strictly speaking possible is still rather difficult to do. In addition there are also other considerations, since you're modifying the game's render you're also directly affecting the performance of the game and if done incorrectly might even cause crashes. Besides this, the anti-cheat logic for competitive games often flags actions like this as using cheats (except for some popular white listed applications, TeamSpeak, etc).

I've looked into this before and whether or not to try add support. I might work on it some time if I have a lot of free time, but either way the option would come with a fair warning if I ever finish it.

I apologize for the long reply that was probably not what you were hoping for, but I wanted to explain the whole situation ^_^'
TTG_DRAGON
How Do i start it up on mac i cant get it to work
Topic Starter
Roan

TTG_DRAGON wrote:

How Do i start it up on mac i cant get it to work

Hmm, as far as I know it should just be a matter of starting the jar file. Though I do not personally own a mac at this time. It might also be the case that you have to mark the jar as executable first. Do you get the idea that it starts and chrashes or just does not start at all? Could you try running it using a terminal using 'java -jar KeysPerSecond-v8.2.jar' and see if that reports any more useful debug information? It could also be the case that there's an issue related to newer macOS versions in which case I might have to look into that. I assume that you are also running an up-to-date version of Java 8+.
Balu924
Heyy, how can i set it up?
Topic Starter
Roan

Balu924 wrote:

Heyy, how can i set it up?
Hey, there's no real setup required to use the program. You only need to download the executable (if you're on Windows) and then double click that (or right click > open) to run the application. After that you might want to customise the look or just click on "OK" to use the default theme. If this does not work for some reason, please let me know.
PoustouFlan
Can we have our KPS during a replay ?
nobully

Kelk1 wrote:

Can we have our KPS during a replay ?
use obs and capture osu and the kps window at the same time
Topic Starter
Roan

Kelk1 wrote:

Can we have our KPS during a replay ?
Like nobully said, you'll have to use something like a screen recording for that. When you're watching a replay no keystrokes are sent to your operating system, osu! just plays the replay data, so there's not really anything for me to capture.
- Isla -
that looks really cool! Will 100% try it out.
Topic Starter
Roan

FutabaLovesYou wrote:

that looks really cool! Will 100% try it out.
Thanks :)
show more
Please sign in to reply.

New reply