diff options
author | Konstantin Pospelov <kupospelov@gmail.com> | 2019-02-17 19:08:22 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-04-26 20:56:48 +0300 |
commit | a09c144b8b5f9d0518e7239a27e2fb86e00644b3 (patch) | |
tree | acce9b57c319496e9f5dd194e22e49b0b6fcbfdf /sway/config/input.c | |
parent | bd32b300fb61e31bcac76be470ff0faa65cf9a88 (diff) |
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.
Diffstat (limited to 'sway/config/input.c')
0 files changed, 0 insertions, 0 deletions