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

Add macro support with new keybard keymap_all.h #80

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

captdeaf
Copy link

I figured out how to initialize the board w/ macros compiled into the firmware. Keybard's keymap_all.h download has also been updated with what is needed for macros.

It's a bit of a cheat:

  1. On keyboard init, check if there's any macros defined at all.
  2. If no macros defined, then copy the downloaded macro dump into macro memory/eeprom area.

In theory, if you clear all macros and reconnect the sval, it'll refresh to what was in keymap_all.h. I'm not concerned with that since goal with this PR is solely for dev use.

Copy link
Collaborator

@ilc ilc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ilc ilc merged commit 6a09f92 into svalboard:vial Oct 27, 2024
10 checks passed
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.

2 participants