Reference

XSetDeviceModifierMapping(3x) on Linux

The text 38251829be7f, as Debian 1.2 (Rex) shipped it.

query or change device modifier mappings

XSetDeviceModifierMapping(3x) on Linux now