summaryrefslogtreecommitdiffstats
path: root/quantum/via.c
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-08-03 16:53:42 +0800
committerlokher <lokher@gmail.com>2022-08-05 14:45:45 +0800
commit968655c74cc13a1a63320ef795fe436449708429 (patch)
treeb37716e10d16dcf760ba608dc66051cdb47eb31b /quantum/via.c
parent068bfc49de127c1f1305ee7680f51425ca9cd1f1 (diff)
Add K8 pro
Diffstat (limited to 'quantum/via.c')
-rw-r--r--quantum/via.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/via.c b/quantum/via.c
index 320bd5546d..55c4cb66cd 100644
--- a/quantum/via.c
+++ b/quantum/via.c
@@ -396,6 +396,12 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
dynamic_keymap_set_buffer(offset, size, &command_data[3]);
break;
}
+#ifdef RAW_HID_CMD
+ case RAW_HID_CMD: {
+ raw_hid_receive_kb(data, length);
+ return;
+ }
+#endif
default: {
// The command ID is not known
// Return the unhandled state