steffest / BassoonTracker

Webbased old-school Amiga music tracker in plain old javascript - Plays and edits Amiga Mod files and FastTracker XM files
http://www.stef.be/bassoontracker/
MIT License
1.02k stars 61 forks source link

Colemak keyboard layout #64

Open Midar opened 3 years ago

Midar commented 3 years ago

Hi!

Would it be possible to add support for the Colemak keyboard layout? It's a popular alternative to Dvorak.

I am assuming that JavaScript does not allow getting the keycode but only the symbol so that it could not be made entirely indepentent of the keyboard layout?

There's many more popular keyboard layouts, but Colemak is probably the most common. Other popular ones are Colemak Mod DH, Workman, BÉPO and NEO.

steffest commented 3 years ago

These days there are ways to detect keyboard layout from javascript, so I should probably rework that part and make it layout-independent. I'll note it down as TODO. in the same phase I probably will change some keyboard shortcuts. Most notably the spacebar: my mind is so used to "modern" software that I expect the spacebar to toggle playback instead record like in protracker/fasttracker. That keeps tripping me up so probably a good reason the change it.