#sensor-bindings - expected number or parenthesized expression

1 messages · Page 1 of 1 (latest)

patent sand
#

hey, I just added two encoders to my corne aurora with ZMK and nice-nanos. When I add the line
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; , I get the error message

-- Found devicetree overlay: /__w/zmk-corne-aurora/zmk-corne-aurora/config/splitkb_aurora_corne.keymap
devicetree error: /__w/zmk-corne-aurora/zmk-corne-aurora/config/splitkb_aurora_corne.keymap:118 (column 38): parse error: expected number or parenthesized expression
CMake Error at /__w/zmk-corne-aurora/zmk-corne-aurora/zephyr/cmake/dts.cmake:205 (message):

I have added

CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y

to the .conf file

warm blade
#

Can you link to your repo?

patent sand
#

need to make it public, sec

#

do I need to enable the sensor somehow?

warm blade
patent sand
#

Thanks, but I'm actually now using
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;

#

With the same error code

spark cobalt
#

You should use // or /* ... */ to comment out, not #

patent sand
#

ah, too many languages in my life

#

alright, I had the wrong scroll code and then broke it with the wrong comments

#

now I'm at it just not working 😉

patent sand
#

alright, it's working. the sensor-bindings needed to be below the other bindings

#

would it help if I updated the PR to head in a separate branch?