For configuring keyboards and mouse, Logitech offers SetPoint. You have the option to modify how the button presses are handled.
To distinguish your mouse clicks or keyboard keys from the default actions, for instance, you can assign them functions.
Although these...