High-level API for X Keyboard Extension