From a499c19cd0fc8aac8d63d4009145b1f7265ee607 Mon Sep 17 00:00:00 2001 From: Anthony Date: Sun, 4 Dec 2016 13:19:25 +1100 Subject: [PATCH] Add note for L/R side bit being ignored --- tmk_core/doc/keymap.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tmk_core/doc/keymap.md b/tmk_core/doc/keymap.md index 30ee5f18..87b72e05 100644 --- a/tmk_core/doc/keymap.md +++ b/tmk_core/doc/keymap.md @@ -569,6 +569,7 @@ This registers modifier key(s) simultaneously with layer switching. ACTION_LAYER_MODS(2, MOD_LSFT | MOD_LALT) +This function can only register left-sided modifiers. The handedness of the modifier (left/right) is an extra bit that is not able to be passed through into the layer system. See: [`common/action_code.h`](../common/action_code.h), the spec for ACT_LAYER_TAP only allows four bits for the mods, whereas the mods themselves require five bits, with the high bit being the left/right handedness. ## 4. Tapping -- 2.46.2