Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions/locks xkb extension v3 #527

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Oct 11, 2024

  1. DROP ME: explicit formats

    keymap: Add xkb_keymap_new_from_names2
    
    Currently `xkb_keymap_new_from_names` does not allow to specify the
    keymap format, so provide a new function `xkb_keymap_new_from_names2`.
    
    keymap: Use explicit format in keymap_get_as_string
    
    actions: Use explicit format for parsing actions
    
    test: Use explicit format version in test_compile_rules
    
    tools: Add --format* options
    
    Allow to choose the exact keymap formats for parsing and serializing.
    This prepares for the addition of the new minor version XKB 1.1.
    wismill committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    defe998 View commit details
    Browse the repository at this point in the history
  2. Introduce XKB_KEYMAP_FORMAT_TEXT_V1_1

    For now only an internal format.
    wismill committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    7b87156 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06ddc5b View commit details
    Browse the repository at this point in the history
  4. keymap: Add option "lockOnRelease" for LockGroup action

    This is an extension to XKB, to allow to use e.g. the combination
    `Control + Shift` *alone* to switch layouts, while keeping the use of
    `Control + Shift + some other key` (typically for keyboard shortcuts).
    
    This is really useful for people coming from other platform, such as
    Windows.
    wismill committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    01ce60e View commit details
    Browse the repository at this point in the history
  5. keymap: Add option "unlockOnPress" for LockMods action

    This is an extensions to XKB. It intends to allow to deactivate CapsLock on press
    rather than on release, as in other platforms such as Windows.
    wismill committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    91530b6 View commit details
    Browse the repository at this point in the history
  6. keymap: Override keymap format via env variable

    This is for experimental use only.
    wismill committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d41da4e View commit details
    Browse the repository at this point in the history