Skip to content

Commit

Permalink
Explain how to fully disable masked_mods
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Jul 24, 2022
1 parent 00a0235 commit b4dad62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/behaviors/mod-morph.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;

`masked_mods`

When a modifier specified in `mods` is being held, it won't be sent along with the morphed keycode if it is also part of `masked_mods`. By default, `masked_mods` equals `mods`.
When a modifier specified in `mods` is being held, it won't be sent along with the morphed keycode if it is also part of `masked_mods`. To sent all modifiers along with the morphed keycode, set `masked_mods` to `<0>`. By default, `masked_mods` equals `mods`.

For example, the following configuration morphs `LEFT_SHIFT` + `BACKSPACE` into `DELETE`, and morphs `RIGHT_SHIFT` + `BACKSPACE` into `RIGHT_SHIFT` + `DELETE`.

Expand Down

0 comments on commit b4dad62

Please sign in to comment.