You can use the drag and drop capability to map a command displayed in the Customize dialog box to a device button.
In the
Button Customize dialog box, click Customize...
or select .
In the Customize
dialog box, select the Commands tab:

In the Categories list, select
a category to map a command, or select the "Macros" category to map
a macro.
Select the command or macro to be mapped
from the list of commands.
Press and hold down the left-mouse
button on top of the command or macro entry.
Drag the command to the top of the
button drag-and-drop area.
Release the left-mouse button.
The command is assigned to the device button.