Reference

XkbSetDeviceButtonActions(3) on Linux

The text 509bd6f7860e, as Debian 6.0 (Squeeze) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now