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

Change to always define 6 layers #9

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Change to always define 6 layers #9

merged 2 commits into from
Sep 1, 2023

Conversation

sago35
Copy link
Owner

@sago35 sago35 commented Sep 1, 2023

This PR change ensures that 6 layers are always allocated, regardless of the definition of Keys at AddXXXKeybeyboard().

In addition, cols, which were previously fixed at 252 keys, have been optimized.
This will slightly reduce RAM usage.
This also allows the use of Vial's Matrix tester.

@sago35
Copy link
Owner Author

sago35 commented Sep 1, 2023

Note that this PR changes the size and layout of the data stored in machine.Flash .
It is better to initialize it once using the #8

@sago35 sago35 merged commit 4e0ef32 into main Sep 1, 2023
@sago35 sago35 deleted the key-count branch September 1, 2023 09:53
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

Successfully merging this pull request may close these issues.

1 participant