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

Compiling qwerty on MacOS #20

Open
jiimaho opened this issue Sep 9, 2024 · 7 comments
Open

Compiling qwerty on MacOS #20

jiimaho opened this issue Sep 9, 2024 · 7 comments
Labels
question Further information is requested

Comments

@jiimaho
Copy link

jiimaho commented Sep 9, 2024

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:

  • keymap.dtsi ends with a very weird hack, see picture
image

Expected:

  • keymap.dtsi to be valid
  • content of keymap.dtsi to be uploaded and firmware to be built fine.
@sunaku
Copy link
Owner

sunaku commented Sep 10, 2024

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.

@sunaku sunaku added the question Further information is requested label Sep 10, 2024
@jiimaho
Copy link
Author

jiimaho commented Sep 11, 2024

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

jiimaho commented Sep 11, 2024

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

jiimaho commented Sep 11, 2024

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

sunaku commented Sep 12, 2024

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

@jiimaho
Copy link
Author

jiimaho commented Sep 13, 2024

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.

sunaku added a commit that referenced this issue Sep 22, 2024
Thanks to @jiimaho for the `-u UID:GID` refinement:
#20
@emillinden
Copy link

emillinden commented Sep 26, 2024

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).

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

No branches or pull requests

3 participants