Reference

XKeyboardControl(3) on Linux

The text c5279d8fd6ae, as Debian 7 (Wheezy) shipped it.

manipulate keyboard settings and keyboard control structure

XKeyboardControl(3) on Linux now