I am starting to run up against the limits of XKB, the keyboard subsystem of the X window system.
I would like to know if there is a way I can gain more flexibility. Here are examples of the kind of freedom I would like to obtain:
- When pressing
CapsLock+w
, generateCtrl+Right
. - When pressing
f
d
in rapid succession (but not slowly), generateEscape
. - When pressing
Ctrl+Space
, generate 4 spaces.
What are some ways I could obtain this? Is there a replacement for XKB? Should I simply modify XKB itself? Is there a way to get closer to full programmatic control of the keyboard behavior?