diff --git a/app/src/keymap.c b/app/src/keymap.c index 60990cb451d3..47f35567e785 100644 --- a/app/src/keymap.c +++ b/app/src/keymap.c @@ -225,5 +225,8 @@ int keymap_listener(const struct zmk_event_header *eh) ZMK_LISTENER(keymap, keymap_listener); ZMK_SUBSCRIPTION(keymap, position_state_changed); + +#if ZMK_KEYMAP_HAS_SENSORS ZMK_SUBSCRIPTION(keymap, sensor_event); +#endif /* ZMK_KEYMAP_HAS_SENSORS */