Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't start with -nonstdkb. #264

Open
gegoxaren opened this issue Nov 24, 2021 · 1 comment
Open

can't start with -nonstdkb. #264

gegoxaren opened this issue Nov 24, 2021 · 1 comment

Comments

@gegoxaren
Copy link

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
Copy link
Contributor

caseyjoy commented Nov 25, 2021

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:

  • I had to quit and restart Milkytracker before the shortcuts moved to the new keys, even if it was already closed
  • one of the problems the original code addressed, Azerty numbers having to be shifted, does exist, but that's more because I don't think there's currently any code to change it, and that's just how the Azerty layout is usually

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants