aboutsummaryrefslogtreecommitdiff
path: root/contrib/layout.py
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2024-01-11 15:06:33 -0600
committerIsaac Freund <mail@isaacfreund.com>2024-01-11 15:06:33 -0600
commitec8f57e704f802eaa98275785f66618a7652fd11 (patch)
tree8dfea469b46c188c4c199f3fc4b47cd7dec697aa /contrib/layout.py
parentf6c434c7a7d313c7bca9f42030fdac58efbad491 (diff)
downloadriver-ec8f57e704f802eaa98275785f66618a7652fd11.tar.gz
river-ec8f57e704f802eaa98275785f66618a7652fd11.tar.xz
Keyboard: check translated keysyms for mappings
If our current approch without xkbcommon translation does not match any mapping on a key event attempt to match the translated keysym as well. This makes e.g. the keypad number keys (e.g. KP_1) work intuitively as they may require translation with numlock active. The reason we stopped doing this in I7c02ebcbc was due to layout where e.g. Super+Shift+Space is translated as Space with the Shift modifier consumed, thereby conflicting with a separate mapping for Super+Space. This should not be a issue anymore though as we now only run a maximum of one mapping per key event and we attemt to match mappings without xkbcommon translation before attempting with translation.
Diffstat (limited to 'contrib/layout.py')
0 files changed, 0 insertions, 0 deletions