Reference

XSetDeviceModifierMapping(3) on Linux

The text 78e4d5d74275, as Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie) shipped it.

query or change device modifier mappings

XSetDeviceModifierMapping(3) on Linux now