This is the xkbui library from modular X.org.