Reference

XKeyboardControl(3) on Linux

The text 22c89dbdfb9e, as Debian 4.0 (Etch) shipped it.

manipulate keyboard settings and keyboard control structure

XKeyboardControl(3) on Linux now