Reference

XtConvertCase(3) on Linux

The text 1cc66d3f87c4, as Debian 10 (Buster), Debian 9 (Stretch) shipped it.

convert KeySym to KeyCodes

XtConvertCase(3) on Linux now