Reference

XkbSetDeviceButtonActions(3) on Linux

The text d69b8b7165b3, as Debian 10 (Buster) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now