Reference

XkbSetDeviceButtonActions(3) on Linux

The text 93cbe4833012, as Debian 11 (Bullseye) shipped it.

Change only the button actions for an input extension device

XkbSetDeviceButtonActions(3) on Linux now