Reference

XSetDeviceModifierMapping(3) on Linux

The text 5879ee5ed181, as Debian 5.0 (Lenny) shipped it.

query or change device modifier mappings

XSetDeviceModifierMapping(3) on Linux now