Reference

XNewModifiermap(3) on Linux

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

manipulate keyboard encoding and keyboard encoding structure

XNewModifiermap(3) on Linux now