From a9132652ee8c27a4884ef5b4f1b8d16ca2f9fbfb Mon Sep 17 00:00:00 2001 From: Henry Bucklow Date: Sat, 5 Feb 2022 12:49:37 +0000 Subject: [PATCH] Added documentation for SPLIT_LAYER_STATE_SET. --- docs/feature_split_keyboard.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/feature_split_keyboard.md b/docs/feature_split_keyboard.md index dbc7740f98d..c41ec43a98b 100644 --- a/docs/feature_split_keyboard.md +++ b/docs/feature_split_keyboard.md @@ -243,6 +243,12 @@ This mirrors the master side matrix to the slave side for features that react or This enables syncing of the layer state between both halves of the split keyboard. The main purpose of this feature is to enable support for use of things like OLED display of the currently active layer. +```c +#define SPLIT_LAYER_STATE_SET +``` + +This enables calling of `layer_state_set_kb` and `default_layer_set_kb` on the slave side of the keyboard when the layer changes. This allows actions to be triggered on layer change, such as LED changes or haptic feedback. + ```c #define SPLIT_LED_STATE_ENABLE ```