aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Layout.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-01-31 12:11:44 -0700
committerJosh Rahm <rahm@google.com>2024-01-31 12:11:44 -0700
commitcf51fa2e89b92754fda0664e57ba647491eac610 (patch)
treef2fced9c44046c989dea8776b2bd6ce8810feadd /src/Rahm/Desktop/Layout.hs
parentaf1333c9a1963f14079b8cb1ff4157414428b674 (diff)
downloadrde-cf51fa2e89b92754fda0664e57ba647491eac610.tar.gz
rde-cf51fa2e89b92754fda0664e57ba647491eac610.tar.bz2
rde-cf51fa2e89b92754fda0664e57ba647491eac610.zip
Add limited ability to bind directly to keycodes.
Binding to keycodes is good for nonmnemonic key bindings -- where the choice of key is due to its position on the keyboard rather than the character associated with it. Right now only window bindings and subbindings can use keycode bindings. Root bindings can still only be keysyms and buttons. I've been using this feature to map some movement keys to Hyper. This emulates the function key on my M770 keyboard where fn+ijkl are used as arrow keys. I use the tab key as my hyper key. With xcape it can operate as a Tab key when release, or a modifier key when held down, which is awesome.
Diffstat (limited to 'src/Rahm/Desktop/Layout.hs')
0 files changed, 0 insertions, 0 deletions