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

Layouts with different sizes #80

Open
magdesign opened this issue Jul 26, 2024 · 6 comments
Open

Layouts with different sizes #80

magdesign opened this issue Jul 26, 2024 · 6 comments

Comments

@magdesign
Copy link

magdesign commented Jul 26, 2024

I love this keyboard and its customisation capabilities!

However,
for some vim style terminal apps like "toot tui" i'd like to create a small 50px one row NAV layout.

how would i add this codewhise to the according layout only?
since following changes the size on all layouts

 static struct key keys_nav[] = {
KBD_PIXEL_HEIGHT 50
{my keys here}
};

@magdesign
Copy link
Author

current workaround is to create a second keyboard which needs to be triggered manually....

2024-07-27-13:40:29

@proycon
Copy link
Collaborator

proycon commented Jul 27, 2024 via email

@proycon
Copy link
Collaborator

proycon commented Jul 27, 2024 via email

@magdesign
Copy link
Author

magdesign commented Jul 27, 2024

if this extra calculations do not slow down the keyboard, this sounds like a great idea. so we would define once a fixed row height and the rest will be solved by the amount of lines.

@magdesign
Copy link
Author

as longer i think about, i want to have this row height feature. how hard is this to integrate in main.c and where else?

@proycon
Copy link
Collaborator

proycon commented Aug 9, 2024 via email

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