Tonetfal / JKPS

A keys-per-second meter for rhythm games, useful for streaming and making videos
MIT License
103 stars 6 forks source link

OEM keys shown as "Unknown" for any layout other than the classic US layout #14

Open hiroweeb opened 2 years ago

hiroweeb commented 2 years ago

I'm a french player, and I natively use ISO-FR which has a bunch of useful and very much used extra keys (which I use to play), but they all get recognized as "Unknown", will stay pressed and just won't register anything. Is there a way to change the code to work based on received keycode (if not recognized by the program)?

Tonetfal commented 2 years ago

I didn't test any non-US keyboard myself since I don't have one, but some people managed to configure the keys with other layouts, such as UK. I'm not able to identify the key code myself if it is not recognized on press.

Can you please try to use English layout in your OS to configure the program? Though probably regardless of the layout in the OS the extra keys may not be recognizable by the program.

You can try to use some other programs to make some sort of alias with these extra keys. JKPS supports some non-existing keys such as F13-F24, you can try to make an alias with your extra keys and the F keys in order to keep using them.

hiroweeb commented 2 years ago

I tried with a US layout since I have Windows in english, but the ISO-FR keyboard I'm using has more keys than usual (like one next to Z for example), and they aren't getting recognized. I could try to tinker with the code, but I don't really have time right now. Might try later.

Tonetfal commented 2 years ago

I tried with a US layout since I have Windows in english, but the ISO-FR keyboard I'm using has more keys than usual (like one next to Z for example), and they aren't getting recognized.

I expected that.

I could try to tinker with the code, but I don't really have time right now. Might try later.

What do you mean by that? Do you want to contribute jkps?

hiroweeb commented 2 years ago

What do you mean by that? Do you want to contribute jkps?

If I have the time and motivation, I could probably