Reference

XKeyboardControl(3) on Linux

The text bc1b7947658a, as Debian 9 (Stretch) shipped it.

manipulate keyboard settings and keyboard control structure

XKeyboardControl(3) on Linux now