milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.7k stars 160 forks source link

can't start with -nonstdkb. #264

Open gegoxaren opened 2 years ago

gegoxaren commented 2 years ago

I read online that if you are using a non-qwerty keyboard layout, you can start the program with the flag -nonstdkb to make the keys be in the correct spot (that, say, w on the keyboard makes a w be registered in the program).

This option is also listed in the man pages:

       -nonstdbk
              Keyboard setting.

Version: 1.03.00

Thank you Gego.

caseyjoy commented 2 years ago

Milkytracker won't start with -nonstdkb because the flag no longer exists. Looking into it, it turns out the man page is from 2008, and out of date.

the code from February 26, 2008 when the man page was written does actually contain -nonstdkb, but the flag was completely removed in later builds, neither the flag -nonstdkb or the variable it sets (stdKb) appear anywhere in the current codebase.

There does seem to be some support for some alternate keyboard layouts regardless - I tried Dvorak, Colemak, and Azerty on Ubuntu 21.10 with Milkytracker 1.03, and things did seem to generally work though I did notice:

So from a quick test of it you should in theory be able to use an alternate layout and have it work as long as you close and reopen it at least once after changing it, though I'm not sure anyone has taken a look at alternate layout support recently.