Edit

kc3-lang/libxkbcommon/changes/keymap-text-format/372.feature.md

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-07-16 19:43:27
    Hash : 3ffb7e73
    Message : doc: Add text format sections to release notes

  • changes/keymap-text-format/372.feature.md
  • Added the new parameter `unlockOnPress` for the key action `LockMods()`.
    
    It enables e.g. to deactivate `CapsLock` *on press* rather than on release,
    as in other platforms such as Windows.
    
    It fixes a [12-year old issue](https://gitlab.freedesktop.org/xorg/xserver/-/issues/312)
    inherited from the X11 ecosystem, by extending the [XKB protocol key actions].
    
    As it is incompatible with X11, this feature is available only using the keymap
    text format v2.
    
    [XKB protocol key actions]: https://www.x.org/releases/current/doc/kbproto/xkbproto.html#Key_Actions