From 5e3b0e85c53d90fd6f45bf814c9853eb005e21a8 Mon Sep 17 00:00:00 2001 From: Univa <41708691+Univa@users.noreply.github.com> Date: Fri, 31 May 2024 19:14:39 -0400 Subject: [PATCH] update via to use the renamed "User" keycode --- rumcake/src/via/protocol_12/keycodes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rumcake/src/via/protocol_12/keycodes.rs b/rumcake/src/via/protocol_12/keycodes.rs index 29c2a73..56126d5 100644 --- a/rumcake/src/via/protocol_12/keycodes.rs +++ b/rumcake/src/via/protocol_12/keycodes.rs @@ -963,7 +963,7 @@ where }) }), Action::Custom(key) => match key { - Keycode::Custom(id) => { + Keycode::User(id) => { if id as u16 <= 31 { QMKKeycodeRanges::QK_KB as u16 + id as u16 } else { @@ -1713,7 +1713,7 @@ where } if QMKKeycodeRanges::QK_KB as u16 <= keycode && keycode <= QMKKeycodeRanges::QK_KB_MAX as u16 { - return Some(Action::Custom(Keycode::Custom( + return Some(Action::Custom(Keycode::User( (keycode - QMKKeycodeRanges::QK_KB as u16) as u8, ))); }