summaryrefslogtreecommitdiffstats
path: root/quantum/via.h
diff options
context:
space:
mode:
authorWilba <Jason.S.Williams@gmail.com>2022-07-21 09:53:42 +1000
committerGitHub <noreply@github.com>2022-07-21 09:53:42 +1000
commit4efe6330c49f076b9c01d3f609dea0cd9f9b0214 (patch)
tree9912d19826b3b148d98e71c3e78bed8e32a0366e /quantum/via.h
parent493d422406da72acf4f9b1fad098ebbb6454163e (diff)
VIA Encoder Map Support (#17734)
Diffstat (limited to 'quantum/via.h')
-rw-r--r--quantum/via.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/via.h b/quantum/via.h
index 31d9c21af4..558ae95de4 100644
--- a/quantum/via.h
+++ b/quantum/via.h
@@ -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,
};