Commit 355e8f9
feat: dump current config over serial on READ_CONFIG (#16)
Add a serial command so the configuration tool can import the keymap
currently on the device. When the serial input is "READ_CONFIG", print
the current keyconfig.json wrapped in <<<CONFIG_BEGIN>>> / <<<CONFIG_END>>>
markers instead of treating it as an incoming config to save. The existing
write path (send JSON to update) is unchanged.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6e6a247 commit 355e8f9
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
723 | 736 | | |
724 | 737 | | |
725 | 738 | | |
| |||
0 commit comments