keyboard library for per-window keyboard layout