Reference

XkbSetDeviceButtonActions(3) on Linux

The text d71eb4208190, as Debian 5.0 (Lenny) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now