From ab5340bbdf1820390aed91e01dc0589abf047db9 Mon Sep 17 00:00:00 2001 From: Roger Meletta Date: Thu, 4 Jul 2024 08:40:06 +0200 Subject: [PATCH] merge sensor definition --- config/corne.keymap | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/config/corne.keymap b/config/corne.keymap index 65b5de3..1c3e428 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -100,6 +100,8 @@ sensors { compatible = "zmk,keymap-sensors"; sensors = <&left_encoder>; + triggers-per-rotation = <20>; + }; }; @@ -394,11 +396,3 @@ }; }; }; - - -&sensors { - // Change this to your encoder's number of detents. - // If you have multiple encoders with different detents, see - // https://zmk.dev/docs/config/encoders#keymap-sensor-config - triggers-per-rotation = <20>; -}; \ No newline at end of file