diff --git a/boards/arm/eyelash_sofle/eyelash_sofle.dtsi b/boards/arm/eyelash_sofle/eyelash_sofle.dtsi index 2580d5fc5b..30c1c8ef37 100644 --- a/boards/arm/eyelash_sofle/eyelash_sofle.dtsi +++ b/boards/arm/eyelash_sofle/eyelash_sofle.dtsi @@ -27,20 +27,19 @@ zmk,backlight = &backlight; }; - left_encoder: encoder_left { - compatible = "alps,ec11"; - label = "LEFT_ENCODER"; - resolution = <4>; - steps = <40>; + left_encoder: encoder_left { + compatible = "alps,ec11"; a-gpios = <&gpio1 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; - b-gpios = <&gpio1 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; - status = "disabled"; - }; + b-gpios = <&gpio1 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; + steps = <40>; + status = "disabled"; + }; sensors { - compatible = "zmk,keymap-sensors"; - sensors = <&left_encoder>; - }; + compatible = "zmk,keymap-sensors"; + triggers-per-rotation = <20>; + sensors = <&left_encoder>; + }; kscan0: kscan { compatible = "zmk,kscan-gpio-matrix"; diff --git a/config/eyelash_sofle.conf b/config/eyelash_sofle.conf index 562fe7593e..d5ff65319b 100644 --- a/config/eyelash_sofle.conf +++ b/config/eyelash_sofle.conf @@ -18,7 +18,7 @@ CONFIG_WS2812_STRIP=y CONFIG_ZMK_RGB_UNDERGLOW=y CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y CONFIG_ZMK_RGB_UNDERGLOW_ON_START=n -CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX=90 +CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX=60 CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_USB=y diff --git a/config/west.yml b/config/west.yml index 0e67706466..918c40e941 100644 --- a/config/west.yml +++ b/config/west.yml @@ -17,7 +17,7 @@ manifest: revision: main - name: zmk remote: zmkfirmware - revision: main + revision: v0.3.0 import: app/west.yml self: path: boards