Reference

XKeyboardControl(3) on Linux

The text 803c66b68ba7, as Debian 13 (Trixie) shipped it.

manipulate keyboard settings and keyboard control structure

XKeyboardControl(3) on Linux now