Reference

XkbSetDeviceButtonActions(3) on Linux

The text a82208f21073, as Debian 13 (Trixie) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now