HerokeyVN / Sky-Auto-Piano

MIT License
7 stars 2 forks source link

Different Keyboard Layouts ? #1

Open Mbombie opened 4 months ago

Mbombie commented 4 months ago

Hello ! I was wondering if it was possible to add diferent keyboard layouts to the player?

I use a QWERTZ keyboard and it doesn play the top left (Z) ,middle right (ö) and bottom right (-) notes properly.

HerokeyVN commented 4 months ago

I will add key editing feature in the next update. Thanks for your feedback!

HerokeyVN commented 4 months ago

Sorry, I'm quite busy so I can't add an interface for the key change feature yet. You can temporarily change the key with the following steps:

Step 1: Delete all the sheets you added previously Step 2: Open file: %appdata%\..\Local\Programs\SkyAutoPiano\resource\app\js\script.js Step 3: You will see a variable named “keys” containing an array of auto-keyed characters. You can edit those characters to your liking. Step 4: Save the file. Open the application and re-add the sheets

Mbombie commented 1 month ago

Hello ! ^^ i was just trying out the program again after i've seen you updated it which is nice :D but im having a new issue i guess .... while i can change they key's the autoplayer uses to "standard characters" (i tried with "G" and "H") for the bottom right 2 keys which works. but i can't use "umlaute" ( Ö, Ä, Ü ).... if i change it to one of those as soon as a note using the key comes up the app crashes. I wonder if it has to do with "special characters" ? i had the same behaviour when i was editing the script.js thing like you said in your little guide that you made ^^ (thanks btw)

HerokeyVN commented 1 month ago

Oh, I haven't tried with special characters yet. I will try to fix this in the next updates. Thanks for your feedback 🥰

HerokeyVN commented 3 weeks ago

Sorry, the app may not support special characters. Try changing the keys with a->z and 0->9 🥲