Reference

XkbSetDeviceButtonActions(3) on Linux

The text f1905582009c, as Debian 8 (Jessie) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now