Reference

XkbSetDeviceButtonActions(3) on Linux

The text 16f5f53d4214, as Debian 7 (Wheezy) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now