Keybard<->Svalboard communication and customizable layer colors. #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds communication between Keybard and Sval that works alongside Vial. Vial will still work, but won't be able to access any of the Sval-specific features.
Sval requests begin with 0xEE (
SVAL_VIA_PREFIX
) and are followed by a 1-byte command.sval_id_get_protocol_version
- Requests a Sval protocol version. Keybard will use this to determine if the connected keyboard has additional features. Response is['s','v','a','l']
followed by version as a little-endian 4-byte int.[1, 0, 0, 0]
at present.sval_id_get_firmware_version
- Requests the QMK_VERSION string from the Sval. e.g:'v24.10.24-4-g2fcc7c-dirty'
sval_id_get_layer_hsv
Fetches a layer's HSV. Response is[H, S, V]
sval_id_set_layer_hsv, <layer>, <hue>, <sat>, <val>]
- Set a layer's HSV. No response expected.