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

Implement layout-independent keysym bindings #3058

Merged
merged 7 commits into from
Apr 26, 2019

Commits on Apr 20, 2019

  1. Implement bindsym --to-code

    * `bindsym --to-code` enables keysym to keycode translation.
    * If there are no `xkb_layout` commands in the config file, the translation
    uses the XKB_DEFAULT_LAYOUT value.
    * It there is one or more `xkb_layout` command, the translation uses
    the first one.
    * If the translation is unsuccessful, a message is logged and the binding
    is stored as BINDING_KEYSYM.
    * The binding keysyms are stored and re-translated when a change in the input
    configuration may affect the translated bindings.
    kupospelov committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    c4559d8 View commit details
    Browse the repository at this point in the history
  2. config: simplify keysym translation fields

    Do not store `xkb_keymap` since it can be retrieved from `xkb_state`.
    kupospelov committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    94dcbc5 View commit details
    Browse the repository at this point in the history
  3. bindsym: change default keymap for --to-code

    Replace XKB_DEFAULT_LAYOUT with NULL as the default layout.
    kupospelov committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    bb8daec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    24086a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    337d8c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7901420 View commit details
    Browse the repository at this point in the history
  7. config: fix clang warning

    kupospelov committed Apr 20, 2019
    Configuration menu
    Copy the full SHA
    0cddae0 View commit details
    Browse the repository at this point in the history