sunaku / glove80-keymaps

"Glorious Engrammer" keymap for Glove80 keyboard
https://sunaku.github.io/moergo-glove80-keyboard.html#layers
362 stars 113 forks source link

Compiling qwerty on MacOS #20

Open jiimaho opened 1 month ago

jiimaho commented 1 month ago

Hello,

First of all thanks for a great setup! I really like it and would love to get it working with qwerty but something is failing.

I'm on MacOS and trying to compile with ./rake using Docker.

How to reproduce:

  1. Clone repo
  2. Inside rake file, add --user $(id -u):$(id -g) to the docker run command (otherwise it throws permission denied errors)
  3. Edit: Follow the steps here to move qwerty layer to default
  4. Start docker
  5. Run ./rake
  6. At least keymap.dtsi shows as modified in git (this is good I guess)

Actual:

Expected:

sunaku commented 1 month ago

That hack line at the end of the generated snippet is a normal part of the source code. Have you modified anything else in your clone of the repository besides the docker run command? For example, running ./rake should ultimately produce the same keymap.dtsi file as that which is already checked into the Git repository -- so there should be no differences reported by git diff after regeneration.

jiimaho commented 1 month ago

Thanks for a quick reply!

Yea I saw that that the hack line was included when loading your latest release too. Thanks for clarifying, now I know that is expected.

I totally forgot to mention that I moved layers too. Edited original question and added that as step 3 in bold.

jiimaho commented 1 month ago

Hm, I tried it all again just now, also changed OS to be #define OPERATING_SYSTEM 'M' // macOS I was prepared to take a print screen of the error I previously got on the moergo site, but now it built the firmware... :)

Let me check if that works and maybe I can close this issue then.

jiimaho commented 1 month ago

I just got it flashed but the symbol layer is wrong. Should the symbol layer behave the same or so, even when using qwerty?

sunaku commented 1 month ago

Yes, the symbol layer should work the same irrespective of the alpha layout. Are you using the en-US locale?

jiimaho commented 1 month ago

Yes using the en-US locale for now, even though I will eventually get it to work with sv-SE too or fix my swedish characters somehow.

But yea I haven't changed much really, so a bit strange the symbol layer is wrong. Will have to try again tomorrow.

emillinden commented 1 month ago

Yes using the en-US locale for now, even though I will eventually get it to work with sv-SE too or fix my swedish characters somehow.

But yea I haven't changed much really, so a bit strange the symbol layer is wrong. Will have to try again tomorrow.

@jiimaho Any luck on getting ÅÄÖ keys working? Namely the &RightPinky (SEMI, LAYER_QWERTY) key. I did try replacing SEMI with SV_OE and Ö but both results in a build error regardless of locale (tried en-US and sv-SE).