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

possible to use this to test layouts? #7

Closed
revulent opened this issue Sep 30, 2022 · 2 comments
Closed

possible to use this to test layouts? #7

revulent opened this issue Sep 30, 2022 · 2 comments

Comments

@revulent
Copy link

I've made a new modified workman layout and i'd like to test it with this analyzer and compare it to the original workman layout and RSTHD. Unfortunately rust completely goes over my head for the time being and i'm not sure where to go with that. Do you have a tip on what to do to get that to work? If I can just cut out the code that iterates through layouts and make it just use my layout that would be good enough.

@xsznix
Copy link
Owner

xsznix commented Sep 30, 2022

You'll want to add your layout as a constant in this file: https://github.com/xsznix/keygen/blob/master/src/layout.rs#L90

and then add it to the list of reference layouts to analyze: https://github.com/xsznix/keygen/blob/master/src/main.rs#L122-L169

To run the reference analysis, do cargo run -- run <path to your corpus>

Come hang out with other keyboard layout creators and alt keyboard layout users on Discord if you want to share your ideas and get feedback and insight! There's several newer keyboard layout analyzers by people there, along with new heuristics and methodology, that you may be interested in. https://discord.gg/d87QC844

@xsznix xsznix closed this as completed Sep 30, 2022
@akaralar
Copy link

@xsznix sorry for resurrecting a closed issue but the invite for the discord expired, which discord is it?

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

3 participants