From 9adc1ca3d8897eea3d3096f072174ead089307f6 Mon Sep 17 00:00:00 2001 From: Kim Streich Date: Sat, 6 Jan 2024 10:37:17 -0600 Subject: [PATCH] Keymap: Enable mouse keys without urob --- config/base.keymap | 8 +++----- config/includes/mouse_keys.dtsi | 5 ++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/config/base.keymap b/config/base.keymap index 8898d09e..98b509f9 100644 --- a/config/base.keymap +++ b/config/base.keymap @@ -27,10 +27,8 @@ #include #include #include - -#ifdef HAS_UROB #include -#endif + #ifdef HAS_PS2 #include @@ -236,7 +234,7 @@ // sensor-bindings = <&inc_dec_kp C_BRI_DN C_BRI_UP &inc_dec_kp LEFT RIGHT>; }; -#ifdef HAS_UROB + MouseKeys_layer { label = "MouseKeys"; bindings = < @@ -252,7 +250,7 @@ >; // sensor-bindings = <&inc_dec_kp C_BRI_DN C_BRI_UP &inc_dec_kp LEFT RIGHT>; }; -#endif + #ifdef HAS_PS2 MouseTP_layer { diff --git a/config/includes/mouse_keys.dtsi b/config/includes/mouse_keys.dtsi index c0985d6a..a8be3e5e 100644 --- a/config/includes/mouse_keys.dtsi +++ b/config/includes/mouse_keys.dtsi @@ -1,6 +1,5 @@ -#ifdef HAS_UROB - #include -#endif +#include + // These are defines to make the keymap behavior for adjusting // trackpoint settings shorter.