1
0
Fork 0

VIA Encoder Map Support (#17734)

This commit is contained in:
Wilba 2022-07-21 09:53:42 +10:00 committed by GitHub
parent 493d422406
commit 4efe6330c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View file

@ -58,7 +58,7 @@
// This is changed only when the command IDs change,
// so VIA Configurator can detect compatible firmware.
#define VIA_PROTOCOL_VERSION 0x0009
#define VIA_PROTOCOL_VERSION 0x000A
enum via_command_id {
id_get_protocol_version = 0x01, // always 0x01
@ -80,6 +80,8 @@ enum via_command_id {
id_dynamic_keymap_get_layer_count = 0x11,
id_dynamic_keymap_get_buffer = 0x12,
id_dynamic_keymap_set_buffer = 0x13,
id_dynamic_keymap_get_encoder = 0x14,
id_dynamic_keymap_set_encoder = 0x15,
id_unhandled = 0xFF,
};