Reference

XGetDeviceButtonMapping(3) on Linux

The text 5a752415fd73, as Debian 13 (Trixie) shipped it. The page shows this text now.

query or change device button mappings

XGetDeviceButtonMapping(3) on Linux now